Please helppp. Can you explain this?

Answer:
We have to find the value of x.
We need to substitute with 3 because they measure the same.
Step-by-step explanation:
(x - 1)
x - 1 = 3
x - 1 + 1 = 3 + 1
x = 4
(x + 1)
x + 1 = 5
x + 1 - 1 = 5 - 1
x = 4
Both answers are the same which means that they are correct.