Sample 1: Clockwise Perimeter Movement with Rotation
Stage 1: Triangle at top-left corner (0,0), pointing Up (0°).
Stage 2: Triangle moves 1 step Clockwise along perimeter to top-center (0,1), rotates 90° CW (pointing Right).
Stage 3: Triangle moves 1 step CW to (0,2), rotates 90° CW (pointing Down).
Stage 4: Triangle moves 1 step CW to top-right corner (0,3), rotates 90° CW (pointing Left).
Worked Solution:
• Target Stage 5 (Left ?): Position = (1,3) [moves down right edge], Rotation = 0° (pointing Up).
• Target Stage 6 (Right ?): Position = (2,3) [moves further down right edge], Rotation = 90° (pointing Right).