It seems like the first molecule has a bond order of $1$, the second and third have a bond order of $7/6$ and the fourth molecule has a bond order of $3/2$. Why is the answer not $4 < 2 = 3 < 1$?
Well, 2 cannot be equal to three to start off, because a double bond it way shorter than a single bond.
The Answer to this is D, 2 has the shortest bond because it is a double bond, next 4 is a benzene ring, which is a resonance structure, which means that all the carbons technically have partial bonds between each other, or you can imagine the double bonds to be continuously rotating between the different carbons. Lastly 3 and 1 both have normal single bonds, so would have an equal bond length.
Therefore, since the double bond is shortest, the resonance between a single and double is a bit less short, but not as long as a single bond, and a single bond is the longest, the answer it 2(double bond)<4(between double and single bond)<3&1(which are both single bonds)
I can try to explain this by valence bond theory also:-
In first figure carbon is $sp^3$ hybridised having 25% s character and 75% p character.The same is for the third figure where there is carbon carbon single bond.
In second figure carbon is $sp^2$ hybridised with 3 $sp^2$ hybrid orbitals which have more s character than p unlike sp3 hybridised orbital.
Now s being more electronegative makes the the double bond shorter than the single bond since it has more s character in sp2 hybridised orbital than sp3 hybridised orbital,so bond length of 1and 3 figure is shorter than that of 2 figure.
The bond in figure 4 fall somewhat intermediate to double bond and single bond and so is its bond length(intermediate). Now the order of bond length will be:-2 less than 4 less than 1=3.