Others have explained why it is a square, but I feel like there's a deeper confusion in the question.
When someone gives a "proof by picture" such as the ones shown here, the point is not to say
Look at the picture, the thing in the middle looks like a square so it must be a square.
nor
Look at the picture, I say this is a square so it must be a square, trust me.
A proof by picture is not intended to be a formal proof. The point is to quickly communicate the idea of the proof to someone who is assumed to recognize some basic geometry concepts that the proof uses and then be able to go throught the necessary steps to convince themselves of the theorem that is being proven.
The same rearrangement proof could be given in just words and mathematical symbols without any pictures, it would just be waaaaaaay more cumbersome to read and understand.
For example, to give the same proof with basic geometry concepts, one could write something like: (No need to read this carefully, I didn't even check closely whether all my notation is right because I'm demonstrating this is hard to read. And I'm skipping some details on the angle arrangements.)
Take a square $ABCD$ with side length $a+b$.
- Let $E$ be the point in $AB$ such that $|AE|=a$ and $|EB|=b$.
- Let $F$ be the point in $BC$ such that $|BF|=a$ and $|FC|=b$.
- Let $G$ be the point in $CD$ such that $|CG|=a$ and $|GD|=b$.
- Let $H$ be the point in $DA$ such that $|DH|=a$ and $|HA|=b$.
Now $AEH$, $BFE$, $CGF$, and $DHG$ are all congruent: The side $AE$ is of length $a$, the side $AH$ is of length $b$ and the angle $\angle EAH$ is a right angle. (Repeat for the 3 other triangles.) So we can say that $|HE|=|EF|=|FG|=|GH|=c$
Now we can prove that $\angle HEF$ is a right angle as follows:
- Angles $\angle AEH$ and $\angle BEF$ are the two non-right angles of a right-angled triangle, so their sum is $90^\circ$.
- But also $\angle AEH + \angle HEF + \angle BEF = \angle AEB = 180^\circ $ (because $E$ is in the segment $AB$)
- So $\angle HEF = 90 ^\circ$.
With similar arguments, we can show that $\angle HEF$, $\angle EFG$, $\angle FGH$ and $\angle GHE$ are all right angles, and we know that $|HE|=|EF|=|FG|=|GH|$ because the congruence of the triangles we showed above. So $EFGH$ is in fact a square.
So in essence the idea of the "proof by picture" is to make the reader think something like:
Ahh so we have four congruent triangles like that. And two non-right angles of the triangle meet at those points so this angle is therefore a right angle. So all of the four angles are right angles, ahh so that is indeed a square.
But such a thought process is hard to communicate exactly without using so many symbols that it becomes a chore to read. When someone who is well-versed in the basics of geometry sees something like the image, they will quickly understand the concept of the proof - they might even have a thought process similar to what I described above but without the need to go to details of so many symbols and written arguments.