I have overlaped the orange and blue triangles, and the angles are the same. To compose the smaller "triangles", I used the same straight line (off course, with anti-aliasing disabled), so there is no way that their angles would be different. If you compare both images, pixel-per-pixel, you'll notice that up until the 13th square (from left to right), the triangles are the same (of course, disconsidering the "hole" in the second).
The problem really comes from cheating on the original image. Using thick, anti-aliased lines, the orange "triangle's" imperfection is masked. And as I've tried to point out, the orange shape is not a triangle. Because of this, you cannot apply a simple tangencial formula to determine the angle of the slope. That's why I consider that the original image cheats, leading the reader to think that both smaller triangles are really triangles, which they are not.