You can put this solution on YOUR website! Same as you would for a line, although the symbols are different,
.
.
.
where and are the means of the input data, are the sum of the squares of the x deviations, are the products of the x and y square deviation terms.