Pythagoras theorem

a² + b² = c²

A = (2, 7)
B = (14, 2)
C = (2, 2)
Polygon1, c, a, b = Polygon(A, B, C)
Polygon2, b_1, c_1, d, e, D, E = Polygon(B, C, 4)
Polygon3, c_2, a_1, f, g, F, G = Polygon(C, A, 4)
Polygon4, a_2, b_2, h, i, H, I = Polygon(A, B, 4)