First suppose that you do not use the top left vertex, then we want the triangles of maximum order which are $3+3$ ($3$ when the repeated vertices are in the bottom and another $3$ when the repeated vertices are on top).
Now lets count the triangles that use the vertex on the top left corner:
First count the triangles in which the other two vertices are in the same level, this gives us $3$ triangles.
After this we check the $3\times 3$ triangles in which the other two vertices are at different levels, this is a bit of casework but we can do it carefully and systematically.