This question was asked in Ex 3.2, 1 (i)

X+y=10

Amit Kumar's image