This question was asked in Ex 13.8, 6
Perimeter of square 
Krish Mandal's image