Mahesh started from a point facing towards the west, turned left and walked for X m, then turned right and walked for 22 m, then turned left and walked for m, and then turned left again and walked for 22 m. He is exactly 21 m away from the starting point. What is the value of X which was covered in the first leg of his journey?
(All turns are 90 degree turns only)
A12 m
B21 m
C10 m
D11 m