The following trig identities are useful

For the triangle below: