So, to do that, we have to compute a number of variables,

for example, Sxy, the sum of the x y products, and others.

So, I've computed, added some extra columns and rows to the table here.

The first column is the product xiyi.

The second column is x squared.

So for example, 2 squared is four, xy here is 2 times 8 is 16.

And the last column is y squared.

For example, 8 squared is 64.

And, the additional row here is the summation of all of those columns.

So, this number is the summation x, this is summation y, this is summation xy, etc.

And finally, the additional row on the bottom here is the average values.

So, x bar is 4.75, and y bar is 12.0.

So, now that we have all these parameters,

we can compute these numbers here.

So, Sxy is equal to the summation of xiyi,

which is equal to 262 minus 1 over n,

there are four samples, so that's a quarter,

multiplied by summation of xi, which is 19,

multiplied by the summation of yi, which is 48,

which gives me 34.00 for Sxy.

Next, I compute the summation of the x squared terms, Sxx.

So, that is equal to summation xi squared,

which is equal to 109, minus 1 over n,

multiplied by the summation of xi all squared,

in other words, 19 squared, which is 18.75.

And, the answer is 18.75.

Next, we'll compute the sum of the y squared terms,

which is given by this expression here.

So, that is equal to summation yi squared is 648

minus 1/4 multiplied by the summation of yi squared,

in other words, 48 squared, and that is equal to 72.