Right answer is (b) 3 cm
To explain I would say: For any rectangle the formula for perimeter is 2 × (Length + Breadth). Here we already know the breadth of the rectangle. When we substitute the known values in the formula for perimeter of a rectangle we get,
12 = 2 × (Length + 2)
∴ 6 = Length + 2
∴ Length = 4 cm.