Then A makes (X+ 10) pieces.
B (X- 10)
C makes 2X pieces.
D do X/2.
X+ 10+X- 10+2X+X/2 = 270
4.5x=270
x=60
60/2=30
So c actually earned 30.