Trolley A has mass 0.50kg and moves east at 4.0m/s along a smooth, straight track. Trolley B has mass 0.30kg and moves west at 2.0m/s along the same track. They collide head-on, and the collision is perfectly elastic. What is the speed of B immediately after the collision?