What is the value of x?

Answer:
the answer is 4
Step-by-step explanation:
if you cut the ends off you will get you answer