Ryan is tracking how much money he has each week.

He started with $60. He spent $5 per week until he had $20 left in the account.

To figure out how many weeks it took for Ryan to get to $20, you can set up an equation. Let x be the number of weeks:

60 - 5x = 20

Subtract 60 from both sides:

-5x = -40

Divide by -5:

x = 8

It took Ryan 8 weeks to spend enough money to have $20 left in his account.