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:3/4
K:A
['A2 =cBAG']  
X:1
L:1/8
M:3/4
K:A
 A2 =cBAG | A2 =cBAG | AB =c2 d2 | e6 | ee=fed=c | BBed=cB | A=c e2 G2 | A6 |]  