
To find the slope we need to take two points on the `x` axis and their perpendicular points on `y` axis then subtract two points of `x` axis to find change in `x` and two points on `y` to find change in `y`
To find the slope use the formula slope = <ahref="https://www.codecogs.com/eqnedit.php?latex=\frac{\Delta&space;y}{\Delta&space;x}"target="_blank"><imgsrc="https://latex.codecogs.com/gif.latex?\frac{\Delta&space;y}{\Delta&space;x}"title="\frac{\Delta x}{\Delta y}"alt="delta x/delta y"/></a>
where <ahref="https://www.codecogs.com/eqnedit.php?latex=\Delta&space;x"target="_blank"><imgsrc="https://latex.codecogs.com/gif.latex?\Delta&space;x"title="\Delta x"alt="delta x"/></a> = change in `x`
and <ahref="https://www.codecogs.com/eqnedit.php?latex=\Delta&space;y"target="_blank"><imgsrc="https://latex.codecogs.com/gif.latex?\Delta&space;y"title="\Delta y"alt="delta y"/></a> = change in `y`
If we take `x1=2`, `x2=0` and `y1=7` and `y2=3` slope = <ahref="https://www.codecogs.com/eqnedit.php?latex=\frac{7-3}{2-0}"target="_blank"><imgsrc="https://latex.codecogs.com/gif.latex?\frac{7-3}{2-0}"title="\frac{7-3}{2-0}"alt="(7-3)/(2-0)"/></a> = `2`