Line, point in q2, perpendicular to a horizontal line : Find the general equation of a line through (-2, 1) and perpendicular to the line y = 2.
Since the given line is horizontal, the perpendicular line will be vertical. Using the vertical-line form of the equation of the line, we get
. Substituting the coordinates of the required point, we get
.
Finally, the equation of the line can be written as x = -2.
In the general form, it becomes x + 2 = 0.