Here's what I would do.
Determine an expression for JK:
(26+x)-(x+22)
26+x-x-22
4 <=====
Then determine an expression for LM
19-(x+22)
19-x-22
-x-3 <=====
Then, write an equation for JK+KL+LM= JM to find the value of x
4+ (x+22)+(-x-3)= x+34
23= x+34
-11=x
Then plug the x value in
(-11)+34= 23
Final answer: JM=23