i need help, with an step by step explanation please if possible!!

M(x,y):-
[tex]\\ \rm\Rrightarrow \left(\dfrac{2+4}{2},\dfrac{5+9}{2}\right)[/tex]
[tex]\\ \rm\Rrightarrow \left(\dfrac{6}{2},\dfrac{14}{2}\right)[/tex]
[tex]\\ \rm\Rrightarrow (3,7)[/tex]
Equation of L
Slope of the perpendicular line=-1/2
Equation of the perpendicular line
[tex]\\ \rm\Rrightarrow y-y_1=m(x-x_1)[/tex]
[tex]\\ \rm\Rrightarrow y-7=-1/2(x-3)[/tex]
[tex]\\ \rm\Rrightarrow 7-y=1/2(x-3)[/tex]
[tex]\\ \rm\Rrightarrow 14-2y=x-3[/tex]
[tex]\\ \rm\Rrightarrow x+2y-17=0[/tex]