So given that Annie paid $12 first to enter the state fair as entrance fee, then per ride costs $2 each, the equation would be y = 2x + 12. Given that she rode eight rides, that would mean y = 2(8) + 12, so the answer would be y = $28. So the amount she spent in total is $28. Hope this answers your question.