Mathematics (Fifth Primary)

Basic Algebra

If 3x = 21, what is the value of x?