The number $x$ is $111$ when written in base b, but it is 212 when written in base $b − 2$. What is $x$ in base $10$?