First we need to calculate the regression equation
we have the next values
x
292
293
313
305
345
276
337
Sum of X = 2161
Mean X = 308.7143
y
21.85
22.60
24.15
22.90
26.21
21.24
25.02
Then we obtain
Sum of squares (SSX) = 3745.4286=3745-43
Sum of products (SP) = 261.9986=262
the regression equation
[tex]y=mx+b[/tex]
for m
[tex]m=\frac{SP}{\text{SSX}}=\frac{262}{3745.43}=0.06995=0.07[/tex]
then for b
[tex]b=My-\text{mMx}=23.42-(0.07\cdot308.71)=1.82924=1.83[/tex]
the regression equation is
[tex]y=0.07x+1.83[/tex]
then if x=311
[tex]y=0.07(311)+1.83=23.60[/tex]
She will need 23.60 to fill the tank when she gets home