Using the given data you can build the linear regression (described by linear function y=ax+b) by hand or you can use math calculator to do this. In attached diagram you can see that

and

Then the equation of linear function is

Answer: correct choice is D.