If a point is on the bisector of an angle, then the point is equidistant from the sides of the angle.
Since L is on the bisector of ∠KJM, it is equidistant from JK and JM. Also, the distance from a point to a line is the length of the perpendicular segment from the point to the line. Therefore, KL=ML.
KL=ML ⇒ 5x-8= 2x+13
Let's solve the above equation to find the value of x.