How much cloth of each colour is required for the umbrella?

An umbrella is made by stitching 10 triangular pieces of cloth of two different colours (see figure), each piece measuring 20 cm, 50 cm and 50 cm. How much cloth of each colour is required for the umbrella?
image

image