Final answer:
The equation for the total amount in Tommy's bank account after x weeks is , where 30 is the initial amount in his account and 3x is the amount saved after x weeks.
Step-by-step explanation:
To write an equation where x is the number of weeks and y is the total amount in Tommy's bank account, we start with the initial amount of money ($30) and add the amount saved each week multiplied by the number of weeks (3 dollars per week times the number of weeks, which is x).
The equation that represents this situation is:
y = 30 + 3x
Here, 30 represents the starting amount in the account, and 3x represents the total amount of money saved after x weeks.