find the equation of a line passing through a point and having undefined slope