When the slope isn't defined, it's not possible to write the line in slope-intercept form. No slope means a vertical line, which here must be
[tex]x= -1[/tex]
The ordered pair (-1,6) obviously satisfies the above equation so is on the vertical line [tex]x=-1[/tex].