Joshua works in a department store selling clothing. He makes a guaranteed salary of
 $350 per week, but is paid a commision on top of his base salary equal to 5% of his
 total sales for the week. How much would Joshua make in a week in which he made
 $775 in sales? How much would Joshua make in a week if he made x dollars in sales?