We will write the equation of the line into the standard form.
==> y-y1 = m (x-x1) where (x1,y1) is any point passes through the line and m is the slope.
==> Given the points ( -3,1) passes through the line.
==> L1: y -1 = m (x+ 3)
Now given that the line is perpendicular to the line y= -2.
But the line y= -2 is parallel to the x-axis.
Then the line L1 is parallel to the y-axis.
Then the slope is given by m = 1/0
==> L1: y- 1 = 1/0 ( x+3)
==> L1: x = -3
Then, the equation of the line is x= -3
find the equation of a line prependicular to y=-2 passing through (-3, 1)
equation of a line given the slope and a point
First, realize that y = -2 is a horizontal line. It has a slope of 0. Perpendicular lines have a slope that is the negative reciprocal. The negative reciprocal of 0 is undefined since -1/0 is undefined. Lines with undefined slopes are vertical lines. You need a vertical line that passes through (-3, 1). In a vertical line, all y values share the same x value. So you're perpendicular line must be x = -3.