Colour the part according to the given fraction

Colour the part according to the given fraction
image

image