What are the steps on how to rearrange formula: A=R[(1+i)^n-1]/i ??

Rearrange to isolate R