Write an equation if a line perpendicular to the given equation through the given point

The given equation is
[tex]y=\frac{1}{2}x-6[/tex]The slope of the given equation is 1/2 (the coefficient of x).
Then, we use the perpendicularity definition to find the slope of the new line
[tex]\begin{gathered} m\cdot m_1=-1 \\ m\cdot\frac{1}{2}=-1 \\ m=-2 \end{gathered}[/tex]Then, we use the point (6,4), the slope -2, and the point-slope formula to find the equation
[tex]\begin{gathered} y-y_1=m(x-x_1) \\ y-4=-2(x-6) \\ y-4=-2x+12 \\ y=-2x+12+4 \\ y=-2x+16 \end{gathered}[/tex]