Suppose that we have $n$ colours available and we paint the edges and vertices of an equilateral triangle (resp. square) and we want to count how many colourings there are, up to equivalence, where two colourings are equivalent if one can be transformed into the other by applying a symmetry of the triangle (resp. square). How many colourings are there?
I know how to use Burnside's lemma to count the colourings when we only paint either the edges or the vertices of a regular $n$-gon, but not both. In the above problem, I initally thought that the case of painting the vertices and edges of a triangle was exactly the same as painting just the vertices of a regular hexagon, and similarly I considered working with a regular octagon in the place of the vertices and edges of a square. It seems intuitive, but something is not convincing me: Is the group of symmetries of the vertices and edges of a regular $n$-gon isomorphic to the group of symmetries of just the edges of a regular $2n$-gon (the dihedral group of $4n$ elements). Another possibility that passed through my mind was: just multiply the orbits of the action of $D_3$ by $2$ to get the colourings when we paint the vertices and edges.
Is there any merit in my thoughts? If so, please point out my mistakes. Thanks in advance, and sorry for the long text!