Let x = the number of ride you went on
$79 = $15 + $8x
To solve for how many rides you went on, subtract 15 from each side.
$64 = $8x. Divide each side by 8.
8 = x.
You went on 8 rides
3.5m questions
4.5m answers