Jake the lumberjack cut a log into three pieces in 6 minutes. He then cut a similar log into 5 pieces. How long should the job have taken if he had worked at the same rate?