How to use law of cosines to find the missing angles of a triangle given SSS