Ok, when you assign a value to x and want to represent it with a graph what you have is a straight line perpendicular to the x axis with infinite length. If a line is perpendicular to this axis then its slope has an infinite value. In other words, the slope is undefined so you should enter the symbol for undefined.