The line y=7 is a line parallel to x-axis and the slope of the line is m=0.
The product of the slopes of two perpendicular lines is -1.
Therefore, the slope of the required line should be -1/0 or undefined. In other words, the line should be parallel to y-axis. So, any line that is of the form x=k is perpendicular to y=7.
Option (C) x=6 is the answer.