Two roommates, Adam and Burt, saved their wages from weekend jobs to buy a television. Adam earned $10 per hour, and Burt earned $8 per hour. Together they worked for 34 hours and earned exactly $310.

One way of representing this scenario is through a table:

Earnings =
Rate
*
Time
Adam
e
=
10
*
t
Burt

=
8
*

How many hours did each of them work?