A telecommunications company is planning to install a fibre-optic cable connecting two towns,
A and
B. The cable must pass through a relay station at a point
P on a straight road running between two substations.
Town
A is at
(2,5) and town
B is at
(10,11), with distances in kilometres. The road passes through substation
X at
(0,2) and substation
Y at
(8,6).