Carter wants to save up some money to buy a new smartphone, so he babysits on the weekends. There is a proportional relationship between the time Carter spends babysitting (in hours), x, and the amount of money he earns babysitting (in dollars), y.

Carter earns $48 babysitting for 8 hours. Write the equation for the relationship between x and y.

We can start by determining the rate at which Carter earns money while babysitting. We can do this by dividing the total amount earned by the number of hours worked. In this case, Carter earned $48 in 8 hours, so the rate is $48/8 hours = $6/hour.

Now, we can write the equation for the relationship between x (the number of hours worked) and y (the amount of money earned). Since the rate is $6/hour, the equation is:

y = 6x