In order to be able to graph the residual plot, you first need to calculate the y-values predicted by the linear regression equation (P): simply substitute the x values (4, 5, 6, 7, and 8) in the equation y = -15.5·x + 272.8
Example:
P(4) = -15.5·4 + 272.8 = 210.8
Then, you need to calculate the residuals, which are defined as the difference between the y-values observed (O) and the y-values predicted (P) by the linear regression equation:
R = O - P
Example:
R(4) = 216 - 210.8 = 5.2
Now, round the residuals (RR) to the nearest integer:
Example:
RR(4) = 5
You now have the points needed to graph the residual plot, which are given by the couples (x, RR).
The table attached shows all the values, the graph attached shows the residual plot.