On Optimal Point Sets Determining Distinct Triangles