The equation of the line perpendicular to the given line that contains point $ A $ is:
$ \color{blue}{ 2x+y+3=0 }$ ( General form )
$ \color{blue}{ y = - 2 x - 3 } ~~~$ ( Slope y-intercept form )
Step 1:The slope of a given line is $ m = \frac{ 1 }{ 2 } $.
Step 2: The perpendicular slope ($ m_1 $) is negative reciprocal of the slope $ m $.
$$ m_1 = - \frac{1}{m} = -\frac{ 1 }{ \frac{ 1 }{ 2 } } = -2 $$So the perpendicular line will have a slope of $ m_1 = -2 $
Step 3: Now we have a point and the slope so we can use point-slope form, which is:
$$ y - y_0 = m_1 (x - x_0) $$In this example we have: $ m_1 = -2 $ , $ x_0 = 2 $ and $ y_0 = -7 $. After substitution we have:
$$ \begin{aligned} y - y_0 =& ~ m_1 (x - x_0) \\ y - \left( -7\right) =& ~ -2 ( x - 2) \\y + 7 =& ~ -2 x + 4 \\y =& ~ -2 x + 4 -7 \\y =& ~ - 2 x - 3\\ \end{aligned} $$