You can put this solution on YOUR website! ok first u need to find the gradient of the line connecting the 2 points. This is the change in y over the change in x ... doing this u get = .
using the formula , where m is the gradient, and y1 and x1 are from the coordinate (3,6)
you get (using only one pair of coordinates)
which simplifies to give you:
This simplifies to give you: