Answer:
x = 10
Step-by-step explanation:

4 came from the number of people, Donavon, and 3 friends; 1 + 3 = 4
came from the amount they spent on rides; They each spent
their money on rides
(-3) came from the amount they spent on food, Then they each spend $3 on food.
8 came from the total amount they had left; Donavon and his three friends have a total of $8 remaining.
4 (
x - 3 ) = 8
Distribute;
4 (
x - 3 ) = 8
2x - 12 = 8
Inverse operations;
2x - 12= 8
+12 +12
2x = 20
/2 /2
x = 10