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