Cox rings of extremal rational elliptic surfaces