Dear Ahmed
Define two activities for Depreciation and Machine and assign it to routings with required quantities. Set two different Cost components for Depreciation and Machine assign Secondary cost elements to them. Hope you will get desired results.
Regards
Rajneesh Saxena