Samantha is working on a simple algebraic expression. She starts with the expression:
$$2x + 4 = 12$$
To find the value of $$x$$, she first needs to isolate $$x$$ on one side of the equation. What is the value of $$x$$?