Creates a non-vertical line given its slope and yIntercept.
Creates a vertical line given its xIntercept.