Use functions to model and solve the following problem. A salesperson earns $300 per week plus 5% commission of sales. How much must be sold to earn $800 in a week?