Answer:
The cost of n skirts at $12 each is 12n dollars.
The cost of (2n-1) skirts at $15 each is 15(2n-1) dollars.
The cost of 4 skirts at Sn each is 4Sn dollars.
Therefore, the total cost of the skirts Devi bought is:
12n + 15(2n-1) + 4Sn
Simplifying the expression:
12n + 30n - 15 + 4Sn
42n - 15 + 4Sn
So, the total cost of the skirts Devi bought is 42n - 15 + 4Sn dollars.