Two bodies A and B are thrown simultaneously. A is projected vertically upwards with 80 m/s speed from the ground and B is projected vertically downwards from a height of 160 m with 40 m/s and along the same line of motion. The time taken for the two bodies to collide is