PLEASE HELP 20 POINTS

You are gonna bowling with friends. The cost per game is $5.30 and the cost to rent shoes is $2.50. The total cost was $18.40.

Write and solve the equation to find g how many games they played