Tom's individual rate is 1 job / 6 hours or 1/6 job/hr ("job per hour").
During the hour that Tom works alone, he completes 1/6 of the job, using rt = w: (1/6 job/hr) x 1 hr = 1/6 job.
Peter's individual rate is 1 job / 3 hours or 1/3 job/hr.
Peter joins Tom and they work together for another hour; Peter and Tom's respective individual rates can be added together to calculate their combined rate: 1/6 + 1/3 = 1/2 job/hr.
Working together then they will complete 1/2 of the job in the 1 hour they work together.
At this point, 2/3 of the job has been completed (1/6 by Peter alone + 1/2 by Peter and Tom), and 1/3 remains.
When John joins Tom and Peter, the new combined rate for all three is: 1/6 + 1/3 + 1/2 = 1 job/hr.
The time that it will take them to finish the remaining 1/3 of the job can be solved:
rt = w -> (1 job/hr)(t) = 1/3 job -> t = 1/3 hr.
The question asks us for the fraction of the job that Peter completed. In the hour that Peter worked with Tom he alone completed: rt = w -> w = (1/3 job/hr) x (1 hr) = 1/3 of the job.
In the last 1/3 of an hour that all three worked together, Peter alone completed:
(1/3 job/hr) x (1/3 hr) = 1/9 of the job.
Adding these two values together, we get 1/3 job + 1/9 job = 4/9 of the job.
So E....