The Law of Cosines is used to find the remaining parts of a triangle when the triangle is not a right triangle and when either the lengths of two sides and the measure of the included angle is known (SAS) or the lengths of the three sides (SSS) are known.
The law of cosine states if a,b,c are the three sides of any triangle then

In the above proof in statement 8 the x in statement 5 is replaced by c cos A from statement 6.
Among the given options ,option C holds true as the reason for statement 8.