\(x = {A(1+B(1-C))^n-A\over B(1-C)}*(1+B(1-C))\)
How to get "A"?
Put in the "WolframAlpha" and solve for A. It will probably give you the correct answer, but no step by step unless you are subscribed to it.