This question was asked in Ex 6.2, 2

Can you please give the anothermethod

Dev Sonwani's image