This question was asked in Ex 5.6, 7
Full solution 
shweta jha's image