Edges of the type
Number of edges
(n − 4)m
2m
2m