Ryan earns a base salary of 48,000 plus 3.5% commission on sales. His total sales for one year were 500,000. Find Ryan's total pay for that year.