Original: Child slavery has commonly been used in the production of cash crops and mining.
Simplified: Child slavery has commonly been used when making cash crops and mining.