Twelve more than twice a certain number is six fewer than three times the number. What is the number?