Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
M:4/4
K:Amin
['A2 cA', 'agec d2']  
X:1
L:1/8
M:4/4
K:Amin
|: A2 cA ABcA | G E3 G2 EG | A2 cA GAcd | ecdB cBAG | A2 cA ABcA | G E3 G2 EG | A2 cA GAcd |1 
 ecdB cBAG :|2 ecdB cB A2 |: agec d2 ed | cAGE G2 eg | agec d2 cd | eaag a2 ag | agec d2 ed | 
 cAGE G2 EG | A2 cA GAcd |1 ecdB cB A2 :|2 ecdB cBAG ||  