I need help to beat this formation:

----dc-dc-dc----
---dmc---dmc---
----mc---mc----
------amc-------
----st-----st----