Write an equation for each problem:
1) Ally had $24 to spend on 7 pencils. After buying them, she has $10 left. How much was each pencil?
2) A catering company charges $10 per person, plus a set-up fee of $200. If you have a budget of $400 for your party, how many people can you invite?