Because f(x) is a polynomial function, it is continuous over the real numbers, which means the IVT applies to f(x) on the interval [0 , 2].
f(0) = 5 and f(2) = - 43 so the IVT guarantees that f(x) will attain every value between - 43 and 5 at least once for an x-value with 0 < x < 2.
Finally, since - 43 < 0 < 5, f(x) has a root (i.e. an x0 such that f(x0) = 0) on the interval (0 , 2).