This question was asked in Ex 3.4, 6

The given solution is wrong

imu sun's image