The given equations are:
mx − ny = m2 + n2........(i)
x + y = 2m ........(ii)
On multiplying (ii) by n, we get:
nx + ny = 2mn .......(iii)
On adding (i) and (iii), we get:
mx + nx = m2 + n2 + 2mn
⇒ (m + n)x = (m + n)2
⇒
On substituting x = m + n in (i), we get:
m(m + n) − ny = m2 + n2
⇒ m2 + mn − ny = m2 + n2
⇒ −ny = n2 − mn
⇒
Hence, the solution is x = (m + n) and y = (m − n).