The error term is related to the article in wiki:
<
at the section "Interpolation error"
Since you are given the original function and the closed interval containing the points that you interpolate the function with, then you can apply the formula in wiki directly to calculate an upperbound for the error at x=2.
:)