Classifying scalene, isosceles, and equilateral triangles by side lengths