In order to see if the lines are perpendicular, we must compute their slopes.
The slope formula for two points (x1,y1) and (x2,y2) is given by
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
For instance, if we take these points in the line L1
[tex]\begin{gathered} (x_1,y_1)=(-1,1) \\ (x_2,y_2)=(5,-2) \end{gathered}[/tex]
and substitute their values into the slope formula, we obtain
[tex]\begin{gathered} m=\frac{-2-1}{5-(-1)} \\ m=\frac{-3}{5+1} \\ m=\frac{-3}{6} \\ m=-\frac{1}{2} \end{gathered}[/tex]
Similarly, we must do the same for line L2. If we take these points in the line L2
[tex]\begin{gathered} (x_1,y_1)=(1,-4) \\ (x_2,y_2)=(7,5) \end{gathered}[/tex]
and substitute their values into the slope formula, we have
[tex]\begin{gathered} M=\frac{5-(-4)}{7-1} \\ M=\frac{5+4}{6} \\ M=\frac{9}{6} \\ M=\frac{3}{2} \end{gathered}[/tex]
Now, the perpendicular slope is the opposite reciprocal of the line to which it is perpendicular, that is
[tex]M=-\frac{1}{m}[/tex]
must be fulfiled. Lets see if this occurs:
[tex]\begin{gathered} M=-\frac{1}{-\frac{1}{2}} \\ M=\frac{1}{\frac{1}{2}} \\ M=2 \end{gathered}[/tex]
and we can see that 2 is not equal to 3/2. This imply that lines L1 and L2 are not perpendicular