In a doctors' surgery the first 15 patients were only in the consulting room for an average of three minutes each.
After a further 30 people had seen their doctor, the average number of minutes spent in the consulting room increased to eight minutes per patient.
What was the average amount of time each of the last 30 patients spent in the consulting room?