Copyright © University of Cambridge. All rights reserved.
'Fred the Class Robot' printed from http://nrich.maths.org/
Perhaps it would help to draw out what Fred is doing on squared paper?
Have you counted the number of sides of each shape and looked at the angles? You might like to move your paper around to help you see what each shape is.