Deriving the Least-Squares Estimates for Simple Linear Regression