This visualization shows the relationship between a pinwheel triangle and the five smaller triangles that make it up. You don't have to write code that does anything like this -- it's just so that you can see the relationships when writing your solution.