This question was asked in Ex 13.1, 5

Perimeter formula derivation

Babu Ss's image