The master shape isn't a triangle.
The dark green has a slope of 2/5 = 0.4
The red shape has a slope of 3/8 = 0.375.
In the top arrangement, the shapes are concave compared to a pure 5x 13 triangle.
In the lower arrangement, the shapes are convex compared to a pure 5x13 triangle.
The difference adds up to 1 unit.
A 5x13 has an area of (5x13)/2 = 32.5
The four areas are:
Red: (3x8)/2 =12
dark green (2x5)/2 = 5
orange = 7
light green = 8
total: 32
In the top, they are arranged 0.5 short of the illusion; in the bottom they are arranged 0.5 above the illusion.
Regards,
Roderick B Smith
Rail News Victoria Editor