To calculate residuals, we need to calculate the value of the line of best fit in the same x coordinate as the point we want to study to know the Predicted-y-value. To do so, we make the substitution of 5 into the equation:
Now we determine the residual with the following equation: