Let the numerator be A and the denominator be B.
So, the required fraction is
ATQ,
The sum of the numerator and denominator of the fraction is
⇒
ATQ,
If
Use this equation which is given in the question,
⇒
⇒
⇒
Hence, two equations are,
Add (a) and (b), we will get
⇒
⇒
⇒
Use the obtained value of
⇒
Therefore, the fraction is