Jim went bowling with some friends. It cost him $2 to rent bowling shoes and $3.50 per game of bowling. He spent a total of $16. How do you write and solve an equation to determine how many games he bowled?