Given the task definition and input, reply with output. You are given a math word problem and you are supposed to make use of mathematical concepts like probability, combinatorics, linear equations, sequences/series, or simple operators like addition, subtraction, division, or multiplication to answer the given question. Choose the best option from the 5 given options and report that option.

Question: Tom, working alone, can paint a room in 6 hours. Peter and John, working independently, can paint the same room in 3 hours and 8 hours, respectively. Tom starts painting the room and works on his own for one hour. He is then joined by Peter and they work together for an hour. Finally, John joins them and the three of them work together to finish the room, each one working at his respective rate. What fraction of the whole job was done by Peter?

Option A: 7/15

Option B: 11/25

Option C: 17/35

Option D: 23/45

Option E: 27/55
Option D