Sine and cosine rules and the area of a triangle