This question was asked in Ex 4.2, 2
the exam paper of maths of class 9 half yearly 2017

Salim khan's image