This question was asked in Ex 9.3, 3
X/a y/b=1

Shubham Verma's image