Suppose that every customer order taken by the XYZ Company requires exacty 5 hours of labor for handling the paperwork; this length of time is fixed and does not vary from lot to lot. The total number of hours $y$ required to manufacture and sell a lot of size $x$ would then be
$y=($ number of hours to produce a lot of size $x)+5$
Some data on XYZ's bookcases are given in the following table.
$$
\begin{array}{ccc}
\hline & & \text { Total Labor } \\
\text { Order } & \text { Lot Size } x & \text { Hours } y \\
\hline 1 & 11 & 38 \\
2 & 16 & 52 \\
3 & 8 & 29 \\
4 & 7 & 25 \\
5 & 10 & 38 \\
\hline
\end{array}
$$
(a) From the description of the problem, the least-squares line should have 5 as its $y$ -intercept. Find a formula for the value of the slope $b$ that minimizes the sum of squares
$$
S=\sum_{i=1}^{n}\left[y_{i}-\left(5+b x_{i}\right)\right]^{2}
$$
(b) Use this formula to estimate the slope $b$.
(c) Use your least-squares line to predict the total number of labor hours to produce a lot consisting of 15 bookcases.