Question
Peter painted a total of 3 rooms. He spent 1/5 of his time on the first room and 1/3 of the remaining time on the second room. He spent 8 hours painting the last room. How much time did he take to complete painting all 3 rooms?
Answers
GPT 3.5
Let T be the total time he spent painting all 3 rooms.
He spent T/5 painting the first room.
He had T - T/5 = 4T/5 remaining.
He spent (4T/5) * 1/3 = 4T/15 painting the second room.
He spent T/5 + 4T/15 = 3T/15 + 4T/15 = 7T/15 painting the first and second rooms.
Thus, he took T - 7T/15 = 8 hours painting the last room.
Therefore, T = 8 / (8/15) = 8 * (15/8) = <<8/(8/15)=15>>15 hours. Answer: \boxed{15}.
He spent T/5 painting the first room.
He had T - T/5 = 4T/5 remaining.
He spent (4T/5) * 1/3 = 4T/15 painting the second room.
He spent T/5 + 4T/15 = 3T/15 + 4T/15 = 7T/15 painting the first and second rooms.
Thus, he took T - 7T/15 = 8 hours painting the last room.
Therefore, T = 8 / (8/15) = 8 * (15/8) = <<8/(8/15)=15>>15 hours. Answer: \boxed{15}.