Two planes, A and B, are 31km apart when plane A is 38 km from an airstrip. The angle between the two planes, as measured from the airstrip is 46 degrees. Both planes are flying at the same speed. Which plane will land first?