What is the quickest way to solve such a question below? I have tried different rotations to fit them as a square, but couldn't make it work.
Four of the five jigsaw pieces shown below fit together to make a square. Which one of these diagrams does not fit?





Observe that the least number of little squares in the final figure would be $4+5+6+7=22$ and the most number of little squares equals $5+6+7+8=26$. Since the final figure is a square, it obviously has $25$ little squares. This means the second figure isn't used.