Please solve this problem

Moving to the edges it travels 2*3 + 2*2 = 10 units.
Then it moves in a circular path when it turns the 4 corners.
It goes through 90 degrees in each case - or pi/2 units
so 4 turns = 4 * pi/2 = 2 pi units
Answer is 10 + 2 pi.
Option D