Calculate rotation angle such that the main axis through the cities is aligned with the X axis.
Useful links