Let's first recall that an altitude of a triangle is a segment from a vertex to the line containing the opposite side and perpendicular to the line containing that side.
From the diagram, we can see that LM connects the vertex L with the opposite side JK. Also, it is given that LM is perpendicular to JK. Thus, it fully satisfies the above definition. We conclude that LM is an altitude of â–ł JLK.