Scott starts with $10 and earns $5 and hour. Jill starts with $40 and earns $3 and hour. when will the two have the same amount of money in the same hours?

Let x = hours

10 + 5x = 40 + 3x

Solve for x.