Answer:
36.9 light-years (3 s.f.)
Step-by-step explanation:
Please see attached picture for full solution.
Second picture shows the cosine rule