Respuesta :

Gradient (slope) of a straight line passing through points (x1, y1) and (x2, y2) is given by (y2 - y1)/(x2 - x1).