Let (x+13x+1)=a …….(i)
⇒(x+13x+1)+(3x+1x+1)=25⇒a+a1=25⇒aa2+1=25⇒2(a2+1)=5a⇒2a2+2−5a=0⇒2a2−5a+2=0⇒2a2−4a−a+2=0⇒2a(a−2)−1(a−2)=0⇒(2a−1)(a−2)=0⇒2a−1=0 or a−2=0⇒2a=1 or a=2⇒a=21 or a=2.
Substituting value of a = 21 in (i) we get,
⇒(x+13x+1)=21⇒2(3x+1)=x+1⇒6x+2=x+1⇒6x−x=1−2⇒5x=−1⇒x=−51
Substituting value of a = 2 in (i) we get,
⇒(x+13x+1)=2⇒3x+1=2(x+1)⇒3x+1=2x+2⇒3x−2x=2−1⇒x=1.
Hence, x = 1, −51.