repeat 10 [square right 36]

repeat 12 [hexagon right 30]

If you haven't worked out how I know what repeat, angle combinations to use ... they just have to multiply to 360 for a full circle. For example, if the turtle turns right 12 30 times, it must end up back where it started because 30 x 12 = 360 degrees. Hope that helps.