To write the equation that represents the total cost based on the number of rides (x), we can start with the fixed cost of the ticket and add the variable cost for each ride.
The cost of the ticket is $12, and each ride costs $3. Therefore, the equation can be represented as:
\[ y = 3x + 12 \]
In this equation:
- \( y \) is the total cost,
- \( x \) is the number of rides,
- \( 3x \) represents the cost of the rides, and
- \( 12 \) is the cost of the ticket.
Now, to find the total cost for one person to go on 6 rides, we can substitute \( x = 6 \) into the equation:
\[ y = 3(6) + 12 \] \[ y = 18 + 12 \] \[ y = 30 \]
The total cost for one person to go on 6 rides is $30.