How can i show a group action where G is the group of symmetries of a regular octagon and X is the set of all possible colourings of a regular octagon where each edge is coloured one of two colours??

And could someone please provide more examples like this one, may be using a different shape e.g. a square or a triangle?