a=4, b=3, c=5; 16 + 9 = 25 squares
If you count the number of squares they both add up as a² + b² = c² ; where area of a square is length * breadth (where length and breadth are the same size)
Another proof here .