In this case, we have two similar triangles (the angles are congruents).
So, the next relations holds:
So, we only need to solve for m: