This question was asked in Ex 5.2, 16

Dear sir is there any alternative way to solve this problem.

Vineet .M M's image