
1) Let's start by making a table for that:
So now let' calculate the mean X bar , and Y bar:

Similarly for the average of y:

And now let's calculate the Standard Deviation for that sample Sx, and Sy:
![\begin{gathered} S_x=\sqrt[]{\frac{\sum^{}_{}(x_i-\bar{x})^2}{n-1}}=9.502411975 \\ S_y=\sqrt[]{\frac{\sum^{}_{}(y_i-\bar{y})^2}{n-1}}=1.190238071 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/dhsmr3w9axvvbgonu5oompc35aqkechjs8.png)
And finally, let's calculate the correlation coefficient: One over n-1 times the Summation of the Standard deviations of the sample:

a) We can now start to write out the Least Squares Regression equation is as it follows calculating the slope

And the linear coefficient (y-intercept)

b) Since the number of hours of sleeping on average is given we can plug into y the number of hours to get x the score, Just like that:

3) Hence the answer is
