Mathematics (8th Grade)

Algebra

If 3x = 12, what is x?