This question was asked in Ex 7.4, 7

I want to know a trick about substitution...I am not able to recognise that by applying which identity I would get the required answer..

Piyush Batra's image