This question was asked in Ex 3.3, 24

Sorry sir I haven't read the solution properly

Kush Saxena's image