Answer: NM = 40
Explanation:
First, we will label everything. See attached.
Next, we will set up a proportion to solve. Let the missing side, ? in the picture, be equal to x.
➜ On the left side will be the "smaller top" triangle
➜ On the right side will be the larger triangle
➜ View the second attachment for a visual explanation of this if you are confused.

Next, we will cross-multiply and solve.

48x = 30(x + 24)
48x = 30x + 720
18x = 720
x = 40