This question was asked in EX 9.1, 3
Ex 9.1 class 10 maths ques 3 
Namrata Aneja's image