Final answer:
To find the number of swimming classes the student took, we can set up and solve a linear equation based on the given information. The equation is 12.50 + (8.75 * x) = 56.25, where 'x' represents the number of swimming classes. By solving the equation, we find that the student took 5 swimming classes.
Step-by-step explanation:
To find the number of swimming classes the student took, we need to set up an equation using the given information. Let's assume the student took 'x' swimming classes. The total cost will be the sum of the registration fee and the cost of each swimming class, which is equal to $56.25. So, the equation would be:
12.50 + (8.75 * x) = 56.25
To solve for 'x', we can solve this linear equation:
First, subtract 12.50 from both sides of the equation:
8.75 * x = 56.25 - 12.50
Simplify the equation:
8.75 * x = 43.75
Now, divide both sides of the equation by 8.75 to isolate 'x':
x = 43.75 / 8.75
Simplify the equation:
x = 5
Therefore, the student took 5 swimming classes.