The formula for Sums of squares of the residuals (SSR) is attached below.
Therefore, option B is correct:
B. I would calculate the difference between the observed outcome (Y) and the predicted value of Y (Y_hat), square each one of these differences, and add them up.