If you add more squares to form a repeated tiling, it becomes clear that the area of the triangle is half that of the blue square. The area of the blue square is the sum of the areas of the two original squares, by Pythagoras, so therefore the area of the red triangle is the mean average of the area of the two original squares.