If one-third of a number is 6 less than haft of the number, what is the number?

a) 30
b) 12
c) 18
d) 36

Let X = the number

1/3(x) + 6 = (1/2)x
Solve for x = number