This question was asked in Ex 9.3, 6

Other method to solve this problem

Sathish Nayak's image