Here is my answer. In this problem, you need to use the similarity of triangles. I hope this is helpful.