x=7 is a vertical line and the slope of vertical line is undefined.
You can ask a new question or answer this question.