The equation of a straight line can be worked out using coordinates and the gradient, and vice versa. Practice determining the equation of a straight line ahead of your National 5 Maths exam with this ...
Horizontal lines run left to right, parallel to the horizon, with slope 0 and equation y = k. Vertical lines run top to bottom, perpendicular to the horizon, with undefined slope and equation x = k.