uncle gives baby 25 dollars on her first birthday, 50dollars on second doubling act each year.

I need help with an equation

start listing some doubles:

1 = 2^0
2 = 2^1
4 = 2^3
see a pattern?
But you started with 25 instead of 1, so...

But there are two possible functions. How much was given each year, or how much in total had been given by the nth year.