Hey everyone I need help really badly.

I have a formula that looks like this

A=PR^n + Q(R^n-1)/R-1

But i need to rearrange it to make R the subject. Ive spent hours trying to work it out but i just can't do it. I need it for my maths assignment due tommorow so quick help would be very much appreciated.

Thanks!