The following graph is a complete tripartite graph K3,3,4 and it is a case of a complete k-partite graph. When drawing this graph, I decomposed the vertices into three disjoint sets. Every vertex of each set graph vertices is adjacent to every vertex in the other two sets. Finally, it can be clearly seen from the graph that the maximum number of edges is 33.
--Updates--
To calculate the number of edges of K3,3,4 (Theoretically), I used the Hand-Shaking Theorem:
The sum of degrees of all vertices = 2 | E |.
The 3 vertices (dark blue) have degree 7, 3 vertices (red) have degree 7, and last 4 vertices (light blue) have degree 6.
Therefore, the sum of the degrees of the vertices of K3,3,4 is (3x7) + (3x7)+ (4×6) = 66.
Thus, the total number of edges is 66 ÷ 2 = 33.