Solution
For this case we have the following data:
x y
0 996
1 923
2 882
3 892
4 840
5 813
sum xi = 15
sum yi = 5346
sum xi yi = 12788
sum xi^2 = 55
And we want to find and equation like this one:
y= mx+ b
So then we can estimate the slope using least squares and we have:

Replacing we have:

m= -32.971
And the intercept would be:

b= 973.428
Then the equation would be:
y= -32.971x+ 973.428
And we can find the value of x for y = 767 and we got::
767 = -32.971x+ 973.428
Solcing for x we have:
767- 973.428 = -32.971 x
x= 6.26
Regression Equation: y= -32.9x + 973.4
Final Answer: 2012