Hello Nikki. There is a clause that states if a function has a slope of x, then the slope of the line perpendicular to it will be -(1/x). In other words, the slope of the perpendicular line will be its reciprocal with the opposite of sign.
In this equation the slope is 1/2. Therefore, the slope of the line perpendicular to this line is going to be -2.
This line is written in what is called slope intercept form. The general form for slope intercept form is: y = mx + b, where m is the slope and b is the y-intercept. Another way of writing a line is in point-slope form: y - y1 = m(x - x1), where x1 and y1 are the coordinates for the point given.
Using this knowledge, we look at the problem and see that our point given is (-2, 1). Using this point and the slope we calculated to be -2, we can conclude that the formula for the desired line will be: y - 1 = -2(x + 2).
Hope this helped and good luck!