Eighteen less than three times a number is twice the number is twice the number. Define a variable, write an equation, and solve to find the number.