The general equation appears as \(Ax + By + C = 0\). However to build up an equation use \(y - b = m(x - a)\) where \(m\) is the gradient and \((a,b)\) is a point on the line.