Cannot seem to figure this one out.

Answer:
cosB = 2√6 / 7
Step-by-step explanation:
use the pythagorean theorem to find the missing side
a² + b² = c²
a² + 5² = 7²
a² + 25 = 49
a² = 24
a = √24
a = 2√6
--------------------------
cosB = adj/hyp
cosB = 2√6 / 7