I am working through an old book and an example has these two equations that need to be used to solve for x and y:

xm + y = m

x + yn = n

The solution has x = (mn - n) / (mn - 1 ) and y = (mn - m) / (mn - 1).

I keep getting the wrong answer!

Please help show me the way to the answer.

Thanks,

Ultros