Take 9 from 6, 10 from 9, 50 from 40 and leave 6.

How Come ??

SIX - 9 (IX) = S
9 (IX) - 10 (X) = I
40 (XL) - 50 (L) = X
===>SIX