A carter charges $500 plus $30 per guest to carter a wedding. Walt and Traci don't want to spend more than $8000 on catering. Write and solve an inequality in terms of the numbers of guests, g, that can be invited.