The speed of a 100 m long running train A is 40% more than the speed of another 180 m long train B running in the opposite directions. To find out the speed of train B, which of the information given in statements P and Q is sufficient?
P : The two trains crossed each other in 6 seconds.
Q : The difference between the speeds of the two trains was 26 kmph.