Solving SAS Triangles
"SAS" means "Side, Angle, Side"
This means we are given two sides and the included angle. 
To solve an SAS triangle

Example 1
In this triangle we know:
 angle A = 49°
 b = 5
 and c = 7
To solve the triangle we need to find side a and angles B and C.
Because we don't know the angles facing the other two sides we can't use The Law of Sines, so we must use The Law of Cosines to find side a first:
a² = b² + c²  2bc cosA
Now we use the The Law of Sines to find the smaller of the other two angles
Why the smaller angle? Because the inverse sine function gives answers less than 90° even for angles greater than 90°. By choosing the smaller angle we avoid this problem (you can't have two angles greater than 90° in a triangle.) Note: the smaller angle is the one facing the shorter side.
Choose angle B:
sin B / b = sin A / a
Did you notice that we didn't use a = 5.30. That number is rounded to 2 decimal places. It's much better to use the unrounded number 5.298... which you should still have on your calculator from the last calculation.
Now we find angle C, which is easy using 'angles of a triangle add to 180°':
Now we have completely solved the triangle i.e. we have found all its angles and sides.
Example 2
This is also an SAS triangle.
First of all we will find r using The Law of Cosines:
r^{2} = p^{2} + q^{2}  2pq cos R
Now The Law of Sines.
Choose the smaller angle? We don't have to! Angle R is greater than 90°, so angles P and Q must be less than 90°.
sin P / p = sin R / r
Now we will find angle Q using 'angles of a triangle add to 180°':