If you take a number, times by 3 then add 6. You get the same as if you took the number, times by 6 then subtract 3. What is the number?