I have no clue what your question is. Do you want to find the parameters of a linear equation by regression? If so, go find a copy of Neter & Wassermann "Applied Linear Statistical Models", Irwin, 1974. It's a superb book and gives you the requisite equations, derivations, and examples. I've looked at a lot of statistics books over the decades and I still consider this one of the best.
BTW, the reason I was using it was to do some quickie multiple linear regression in python. Using numpy, you can do so in just a few lines of code (or use scipy, where it's already built in). Printing out an ANOVA table and residual table is not much extra work.