Final answer:
To find out how many toppings each student got, set up two equations based on the information given. Solve the equations to find 'x', which represents the number of toppings. Each student got 3 toppings.
Step-by-step explanation:
To find out how many toppings each student got, we need to set up two equations based on the information given. Let's say the number of toppings is represented by 'x' for both students.
For the first student who bought a steakburger, the total cost can be expressed as: $3.80 + $0.40x.
For the second student who bought a hamburger, the total cost can be expressed as: $3.20 + $0.60x.
Since both students spent the same amount of money, we can set the two expressions equal to each other:
$3.80 + $0.40x = $3.20 + $0.60x
To solve for 'x', we can subtract $0.40x from both sides and subtract $3.20 from both sides:
$0.40x - $0.60x = $3.20 - $3.80
Combining the like terms:
- $0.20x = - $0.60
Dividing both sides by - $0.20:
x = 3
So each student got 3 toppings.