First, let's write the distance formula:
[tex]d\text{ = }\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}[/tex]
Probably we should draw the points to get an image of what we have:
Then, we can calculate the distance between each point, so that we find out if all the sides are equal or different.
[tex]\begin{gathered} LM\text{ =}\sqrt[\square]{(4-(-1))^2+(9-7)^2} \\ LM\text{ = }\sqrt[\square]{29} \\ MN=\sqrt[\square]{(8-4)^2+(-1-9)^2} \\ MN=2\sqrt[\square]{29} \\ NP=\sqrt[\square]{(3-8)^2+(-3-(-1))^2} \\ NP=\sqrt[\square]{29} \\ PL=\sqrt[\square]{(-1-3)^2+(7-(-3))^2} \\ PL=2\sqrt[\square]{29} \end{gathered}[/tex]
Since we have 2 pairs of sides with the same dimension, then we assume that it is a rectangle or a paralelogram.
We can get the slope of two lines in order to know if they are perpendicular or they have certain angle between each other.
[tex]\begin{gathered} m_{LM}=\frac{9-7}{4-(-1)}=\frac{2}{5} \\ m_{PL}=\frac{-3-7}{3-(-1)}=\frac{-10}{4}=-\frac{5}{2} \end{gathered}[/tex]
Since the slopes are reciprocal and have different sign, we asure that both lines are perpendicular, therefore, we are talking about a rectangle.