Answer:
10, 14
Step-by-step explanation:
A + B = 24, so A = 24 - B
5.8A + 7.4B = 161.6
Substitute the first equation into the second
5.8(24 - B) + 7.4B = 161.6
139.2 - 5.8B + 7.4B = 161.6
139.2 + 1.6B = 161.6
1.6B = 22.4
B = 14, So he works 14 hours at job B.
Together they make 24, so he works 10 hours at job A.