A train P going at the speed of 70 km/h completely passes train Q of length 170 m, going in the same direction on parallel tracks, at 56 km/h, in 1\( \frac{1}{2} \) minutes. How much time (in seconds) will P take to cross completely train R of length 220 m, going at 74 km/h in the opposite direction?