private double ComputeRegressionYforX(double x, MyLine regressionLine) { return(x * regressionLine.Slope + regressionLine.YIntersect); }