This question was asked in Ex 6.5,14

Image.jpghow they differentiated in step 4


Vignesh Hegde's image