Spelling it out without Excel

The slope of the red triangle is 3 over 8 = 0.375

The slope for the dark green triangle is 2 over 5 = 0.4

So, in neither picture is the Big triangle really a Triangle! One convexes out just slightly, and the other convexes in slightly, and the difference over the lenght of the apparent hypotenuse is an entire square.