Pete earns $4.75/h and Beth earns $5.00/h. Together, they worked a total of 45 hours and earned a total of $220. How many hours did each work?