We can write this as an equation:

where x is the number of weeks.
To solve, we subtract 20x from both sides and subtract 600 from both sides:

Then, we simplify by dividing both sides by 10:

Thomas and Ken have to work 20 weeks for their earnings to be the same.