Penzance, Edinburg and Aberdeen all lie in a straight line.

The distance from Penzance to Aberdeen is 660 miles.

The distance from Penzance to Edenburg is 542 miles.

Work out the distance from Edinburgh to Aberdeen.​