Answer:
Luke worked 7 hours and Joshua worked 4 hours
Explanation:
Let's call the number of hours that Luke worked l, and the number of hours that Joshua worked j. Since we know that Luke worked for 3 more hours than Joshua, we can express the amount of hours he worked as (j+3). Now, you can set up the following equation:
25j+35(j+3)=345
Expand parentheses:
25j+35j+105=345
Subtract 105 from both sides and combine like terms:
60j=240
j=4
Since Luke worked 3 more hours, he worked 7 hours. Hope this helps!