when 2 lines are perpendicular the slopes are inverted and have a different sign
for example if a slope is 2, the slope of perpendicular line is -1/2
take two poins of m line (-2,2) and (0,-3)
the slope of the m line is
[tex]m=\frac{-3-2}{0-(-2)}=-\frac{5}{2}[/tex]so, the slope of the perpendicular line is
[tex]-\frac{5}{2}\longrightarrow\frac{2}{5}[/tex]now, the geberal form of the line is
[tex]y=mx+b[/tex]where m is the slope and b the y-intercept
we replace the slope= 1/5 and repace the point (10,1) to find b
[tex]\begin{gathered} y=\frac{2}{5}x+b \\ 1=\frac{2}{5}(10)+b \\ b=1-\frac{2}{5}(10) \\ \\ b=-3 \end{gathered}[/tex]so the equation of the perpendicular line is
[tex]y=\frac{2}{5}x-3[/tex]