More match madness: the solution.

Did you think outside the square(s)?