Since we know that these two are consecutive angles and consecutive angles add up to 180 deg, we can come up with the equation 4x +5x =180. Solving this out shows us that x = 20 and the measure of angle J is 100 deg while the measure of angle M is 80 deg.