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