The similarity of right triangles