The Pythagorean theorem and the Euclidean plane (2)

Author:
Victor Hui
Without resorting to cutting up the squares and triangles, prove that the ratio of the area of the square to the area of the triangle of the same colour is the same for different colour sets of square and triangle. The result will prove the Pythagorean theorem.