Stephanie is registering her son for swim lessons. There is a one time $45 registration fee plus a $20 fee per lesson. Stephanie paid a total of $225. For how many lessons did Stephanie register? Write an equation to represent the problem and solve it.