A map's numerical coordinates are in kilometres. Town A is at (16.3, 2.9) and town B is at
(4.5, 6.3). A road is to be constructed on a direct line between the two towns. Each town is
responsible for the construction up to the mid-point at a cost of $150 000 for each kilometre.
Determine the cost for each town.