Step-by-step explanation
The slope of a straight line tells how the y-coordinates of the line change with respect to the x-coordinates. It tells how slant the line is.
For a straight line, the slope of the line can be obtained when the coordinates of two points on the line are known. If the coordinates are (x₁, y₁) and (x₂, y₂), the slope is given as

Hope this Helps!!!