Copyright © University of Cambridge. All rights reserved.
'Two Regular Polygons' printed from https://nrich.maths.org/
If the polygons are regular there are only certain size exterior
angles that are possible.
Work systematically through those to see if you find some helpful
possibilities.