Please see pic, I'd solved in it.
This is what I get not sure if the problem on numerator is together if it is then . X^2+(a^2+1) x^2+a^2+1.
-----------------= ----------------- AX+1. Ax+1 Answer: a^2+x^2+1 ---------------- AX+1
If I wrote the actual problem wrong let me know. This is what I understood.
Your answer is n=2. thank me if this helped you. :)
40 is the answer =3 hope it works