This question was asked in Ex 5.1, 5
Math class 8 chapter 5 question ❓ no 1 
Meenu Agrawal's image