pls help me figure this out :)) thank you very much

Answer:
x = 10
IJ = 32
Step-by-step explanation:
Since J is between I and M, JM and IJ combined gives you IM.
JM + IJ = IM
18 + 3x + 2 = 5x
20 + 3x = 5x
20 + 3x - 3x = 5x - 3x
20 = 2x
20/2 = 2x/2
10 = x
Now that you have x, you can find IJ
IJ = 3x + 2
IJ = 3(10) + 2
IJ = 30 + 2
IJ = 32