
The rectangle ABCD has been divided into 4 triangles: ABE (two sides marked in red dashes), EBF, EFD (two sides marked in blue dashes) and FBC.
Triangle ABE is shifted right to occupy triangle BB'E'; triangle EFD is shifted right to occupy triangle E'F'C.
The result is the green outlined concave hexagon EBB'E'F'F.