The hash marks indicate that points W and X are midpoints of their respective segments. That makes WX a midline of the triangle. The midline is always half the length of the base (HJ). We can use this fact to write an equation relating the lengths.
HJ = 2·WX
x = 2(x -5) . . . .substitute the given expressions