Please help! 20 points!! :3

Avani works in a department store selling clothing. She makes a guaranteed salary of $500 per week, but is paid a commission on top of her base salary equal to 30% of her total sales for the week. How much would Avani make in a week in which she made $2200 in sales. How much would Avani make in a week if she made x dollars in sales?