I know this is cosine rule but still not sure how to do it

Step-by-step explanation:
l know this cosine rule but still not sure how to do it