If KL = 4x -1, LM = 2x - 1, and KM = 2x, what is the value of x?

Assuming it is a triangle, what is the value of the perimeter of that triangle?

p = (4x-1) + (2x-1) + 2x = 8x - 2