I would first do the loop on step one first. Notice that's only half of the shape of #2 so you just mirror the loop statement. Then you go from there.