Because there is no slope (or the slope is undefined), there is another way to write the equation. Instead of y=mx+b, it will be either x=b or y=b, y=b being a horizontal line and x=b being vertical. To find b, simply find the value of x or y. The line has infinite points on it with one similarity, being their x value is 3. Hence, the equation is x=3.