Harold gets paid at home for doing extra chores. Last week, he did 2 loads of laundry and 3 loads of dishes, and his parents paid him $17. The week before, he finished 5 loads of laundry and 10 loads of dishes, earning a total of $50.
Write a system of equations that models the above situation.