Two airplanes are flying in the air at the same height. Airplane A is flying east at 200 mph and airplane B is flying north at 250 mph. If they are both heading to the same airport, located 30 miles east of airplane A and 40 miles north of airplane B, at what rate (in mph) is the distance between the airplanes changing?