Piravena must make a trip from to , then from to , then from to . Each of these three parts of the trip is made entirely by bus or entirely by airplane. The cities form a right-angled triangle as shown, with a distance of km from and with a distance of km from . To take a bus, it costs Piravena $0.15 per kilometre. To take an airplane, it costs her a $100 booking fee, plus $0.10 per kilometre. Piravena chose the least expensive way to travel between cities and her total cost was $1012.50. Given that she flew from to , determine her method of transportation from to and her method of transportation from to .
