pattern matching

This was a real maths challenge for pattern matching. 

We needed 5 panels of paper and it wasn't clear at the outset that we had enough to match the patterns and cover the whole space inside the bed head area.