https://ibb.co/ynQ8dZt
link to the question
For 9 use cosing rule.
For 8 use cosine rule to find the missing side then sine rule to find one angle. Then use angle sum of a triangle.