pattern matching

This was a real maths challenge alongside pattern matching. 

We need 5 panels of paper and it wasn't clear at the outset and it wasn't clear in we make in.