Mathematics (Year 8)

Algebra

In the equation 2x + 4 = 12, what is the value of x?