How to find the equation of a line with one point and undefined slope