One way to solve this is to use the law of cosines, which states:
Here you can substitute 16 for length A, 14 for length C and 42 degrees for angle C, and solve for length B. Because it's a quadratic equation, you'll get two values for length B. See the attached figure and you'll see how that works - the third side of the triangle can be either BC or BC'.