Reason: Bond order depends on the number of bonds and bond length is inversely proportional to the bond order
Here CO has a triple bond
CO2 has double bond (O=C=O) due to its linear structure with carbon it can have 2 double bond with oxygen
In [CO3]2- the bond lies between single and double bond
hence the bond length order will be as mentioned above