Dennis Hampton earns a straight com-
mission of 7% on sales of $5,000 or less
and 9% on sales in excess of $5,000. One
week Dennis had a gross pay of $578.
What were his total sales for that week?