Draw on this
Shape A is a regular triangle. Shape B is a regular octagon.
Another regular polygon, P, is shown on the diagram.
How many sides does polygon P have?
You must show your working.