If the two planes are traveling in opposite directions, then they are traveling on a straight line with respect to each other. Therefore, their distance apart will be equal to their composite speed times the time aka:
distance = (total speed) * (time)
2250 km = (470 km/hr + 430 km/hr) * time
2250 km = 900 km/hr * time
time = (2250 km)/(900 km/hr) = 2.5 hours