First, use what you are given about the time taken to travel from $A$ to $B$, and the given rates, to compute the distance $d$ between $A$ and $B$:
$$d = 1.25\;\text{hours}\;\cdot \left(\frac {15\;\text{miles}}{1\;\text{hour}} + \frac{45\;\text{miles}}{1\;\text{hour}}\right)$$
Above, we add the rate at which the river is moving to the rate at which the boat moves on still water, to get the overall rate at which the boat is traveling from point A to point B. (It's traveling with the current).
Then, try setting up the equation you need to solve for the time needed to travel distance $d$ from point $B$ to point $A$ at a rate of $(45\; \text{mph}\;- 15\;\text{mph})$. Here, we subtract the rate of the current, which is going in the opposite direction than the boat is, from the rate of movement of the boat in still water.
Try to set up the equation and then solving for the unknown, but desired time needed to travel from point B to point A. I'll be happy to check your progress, if you follow up in the comments below.