This question was asked in Ex 6.5,1
Your first method in second sub division is wrong (6.5, 1st qn). Second last step you haven't squared the denominator.

Khushi Hirani's image