1. Distance formula and Fundamental law of trigonometry