13.6 The cosine rule and 2D trigonometric problems