What you want with the first equation is not clear. Your second equation can be helped------maybe..
Your mixing of wording with symbols is poorly formed for the meaning you want.
A = p(1+r)to the power of nT/n
The "power", an exponent is just T, because the n/n is equal to 1. If you mean something else, please show it at least using proper text expression.
(That did NOT render properly!)