Let X be one number and Y be other number. Then, we can write
and
By moving -Y to the right hand side, we get
By substituting the last expression into the first one, we get
which gives
So, we have a quadratic function, which we can solve by means of the quadractic formula:
which gives
So, we have 2 solutions:
By substituting the fist solution into our first equation, we get
Now, by substituting the second solution into our first equation, we h ave
Lets check one solution. For X=10.81 and Y=14.81 we have
Now, lets chech the second solution. For X=-14.81 and Y=-10.81 we have
They are correct !! So, one solution is X=10.81 and Y=14.8 and the other solution is X=-14.81 and Y=-10.81.