We know that the internal angles of a triangle=180degrees
All three triangles described ha a right angle leaving two angles that have a sum of 90 degrees
The square that has angle A in it has equal sides at right angles making a ratio of 1 to 1 ie 45 to 45 degrees in the adjacent angles.
The triangle with angle b has a ratio of 2 to 1 in its sides of the right angle. ie 60 degrees and 30 degrees angle b being 60 degrees
The triangle with angle c has a ratio of 3 to 1 (the remaining 90 degrees divided by 4 = 22.5) 22.5 X 3 = 67.5degtees for angle c.
45+60+67.5=172.5 degrees for angles a,b,c.