Given,
x=m+n−m−nm+n+m−n
Applying componendo and dividendo,
⇒x−1x+1=m+n+m−n−(m+n−m−n)m+n+m−n+m+n−m−n⇒x−1x+1=2m−n2m+n⇒x−1x+1=m−nm+n⇒m−nm+n=(x−1)2(x+1)2⇒m−nm+n=x2+1−2xx2+1+2x
Applying componendo and dividendo,
⇒m+n−(m−n)m+n+m−n=x2+1+2x−(x2+1−2x)x2+1+2x+x2+1−2x⇒2n2m=4x2(x2+1)⇒nm=2xx2+1⇒n=x2+12mx.
Hence, n = x2+12mx.