Two trains P and Q are moving in opposite direction at a rate of 36 km/hr and 45 km/hr respectively. A passenger is sitting in train P, finds that his train passes train Q in 8 seconds. What is the length of train Q?