Write equation of a line given point and gradient (#377)