Devi bought 7 skits at $x each, n skirts at $12 each, (2n+1) skirts at $15 each and 4 skirts at $3x each. find the total costs of the skirts she bought.

(pls give step by step answers!!)