if someone could please answer this question and explain how to solve it that would be so helpful.

x=4
Step-by-step explanation:
first subtract 4 from both sides of the equation 2x+4-4=12-4
simplify 2x=8
divide both sides of the equation by the same term
2x=8
2 2
cancel the terms that are in the numerator and denominator then decide the numbers
x=4