Hey
The in order to find the equation of an undefined slope you need to understand what slope is. Slope is defined as the change of y over the change of x. or in other words y2-y1/x2-x1. If a slope is positive then the line rises up from left to right. If the slope is negative then the line falls downward from ,left to right. If the slope is zero, then the line is horizontal since there is no rise. If the slope is undefined then the line is vertical since there is no run. Thus, a vertical line passing through the point (3,10) is 3.
Hope you understand. :)