The results are summarized as follows:
- The least-squares regression line is \( y = 2.0233x - 2.3256 \).
- The sum of squared residuals for the line \( y = 2x - 2 \) is \( 1.000 \).
- The sum of squared residuals for the least-squares regression line is \( 0.791 \).
Thus, the final answer is:
\[
\boxed{\text{The line in part (d) minimizes the sum of the squared residuals, thus being the best-fitting line.}}
\]