
If
are
real numbers and
and
Then 
Offline
Substracting second and third equation gives us
Also
Therefore
So
or
Each of these two cases satisfies the three given equations with
and
respectively (also
and
but who cares..).
Finally plugging in these these in our expression, we get
and
.
Offline