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