Task: Question Answering
Input (English): Problem: tom , working alone , can paint a room in 6 hours . peter and john , working independently , can paint the same room in 3 hours and 5 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 ? 
Options: a ) 19 / 35 , b ) 23 / 42 , c ) 27 / 55 , d ) 31 / 63 , e ) 35 / 74
Output (English): d