Solved non-optional problems for linear regression with one variable