One half the sum of a number and 2 is equal to one third of the difference of three times the number and six, what is the number?