Answer: A, B, D
Bond orders are 2.5, 2 and 1.5 for OX2X+, OX2 and OX2X−, so the lengths increase in that order. NX2X+ has order 2.5 against 3 for NX2, hence longer. HX2OX2 has an O-O single bond, longer than the double bond of OX2. COX3X2− has order 1.33 against 2 in COX2, so it is longer, not shorter.