Hi,
Let x represent the hours bricklayer beginning work at 7 a.m works.
Then (x-2)represents the hours for the other bricklayer
170/hr*x +80/hr*(x-2) = 965
solving for x
170x + 80x - 160 = 965
250x = 1125
x = 4.5 hrs, time worked for bricklayer beginning work at 7 a.m.
11:30 am wil be the time the work is finished.