If two trains of length P metres and Q metres are moving in opposite direction with a m/s and b m/s respectively. What is the time taken by trains to cross each other?
a) (P+Q)/(a+b) sec
b) (P+Q)/(a-b) sec
C) (P-Q)/(a+b) sec
d) (P-Q)/(a-b) sec