Use a calculator, input all the data values and construct a linear regression (or quadratic, cubic, logarithmic regression). It's quite difficult and tedious to do it by hand, much less derive the formula for the slope and y-intercept of a linear regression (which can be done using calculus).