We were told that the amount made per hour is $10. If you worked 13 hours the first week, then the amount you made in the first week is
13 * 10 = $130
If you worked 17 hours the second week, then the amount you made in the second week is
17 * 10 = $170
The amount made in two weeks would be
130 + 170 = $300
You made $300 in two weeks