Two workers, a trainer and a trainee, working together can do a job in 3 hours. The trainer is 3 times faster than the trainee to complete the same job. How long will it take the trainee to finish the same job?