The total area covered by all four shapes is same in both the figures (13 x 5 / 2 = 42.5 sq units). The areas of the sub-triangles, red and dark green remain the same,
3x8/2 = 12 and 5x2/2=5, respectively. Hence the difference comes from the rest of the two shapes.
Area of the rectangle covered by orange and light green shapes in top figure = 5 x 3 = 15 sq units
Area of the rectangle covered by orange and light green shapes in the bottom figure = 8 x 2 = 16 sq units
Hence the figure at the bottom has 1 sq unit extra, which explains the gap.