the money given by joe to hector is 125$
let the hector works for x weeks,
it is given that hector earns 50$ in a week,
so the total money hector wants to save is 1100$
now

from the above inequality, we will find x

it means the hector will work for 20 weeks in order to earn 1100$.