You can
put this solution on YOUR website!Use the 3 pairs of points to find the slopes of the lines thru them.
If 2 of the slopes are negative inverses, they're perpendicular, --> a right triangle.
--------------
If it's not a right triangle:
Find the distances between the point pairs.
If they're all equal, it's equilateral.
---------------
If not:
Compare the squares of the sides.
If the square of the longest side is greater than the sum of squares of the other 2 sides, it's an obtuse triangle. o/w, it's scalene.