An umbrella is made by stitching 8 triangular pieces of cloth of two different colours

An umbrella is made by stitching 8 triangular pieces of cloth of two different colours. Each piece measuring 20 cm, 40 cm and 40 cm. How much cloth of each colour is required for the umbrella?
image

.Here, each triangular piece is an isosceles triangle
with sides a = 40 cm, b = 40 cm and c = 20
image
image
Now, there are 4 triangular pieces of one colour and 4 triangular pieces of other colour.
image