We can compute the average, , of the -values, and introduce a new variable .

x2578
y1143

We can set

Notice that the columns are Orthogonal. Hence, is diagonal. Now we can solve this normal using the normal equation.