We have $f(1) \gt 0$ and $f(2) \lt 0$. Hence, the intermediate value theorem (IVT) guarantees at least one root in $(1, \: \: 2)$. Now, let's assume there are two roots $\alpha$ and $\beta$ in $(1, \:\:2 )$. By Rolle's theorem, we have $ \gamma \in (\alpha, \:\: \beta)$ such that $$f'(\gamma)=0$$ we get
$$\gamma =5.25$$ which is not in $(\alpha, \:\: \beta)$. Hence There is exactly one root in $(1, \:\: 2)$. Once Rolle's theorem gives $\gamma$ outside the working interval and at the same time when $IVT$ has guaranteed a root, can we conclude exactly one root in that particular interval?
Yes, we can. The fact that the equation $f'(x)=0$ has a solution outside the interval doesn't matter. What matters is that it has no root in the interval.
Besides, note that the equation $f'(x)=0$ actually has two roots outside the interval.