The axis of rotation passes through die centre of mass of the HCl molecule. The distances of the two atoms from the centre of mass are
The energy difference between two neighbouring levels whose quantum numbers are J & J - 1 is
Hence J = 3 and the levels have quantum numbers 2 & 3,