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:Amix
['cdeg a2 ed cded cA A/A/A', 'gaed eded cdeg aged edcA', 'gaed ea a/a/a gaeg aged cded']  
X:1
L:1/8
M:4/4
K:Amix
 cdeg a2 ed | cded cA A/A/A | =cdef g2 gf | gdBd gaed | cdeg a2 ed | cded cA A/A/A | =cded cGcd | 
 Bdgd gaed :: eded cdeg | aged edcA | =cGcd eded | Bdgd gaed | eded cdeg | aged edcA | =cded cGcd | 
 Bdgd gaed :: ea a/a/a gaeg | aged cded | =cg g/g/g fgeg | dgBe gaed | ea a/a/a gaeg | aged cded | 
 =cded cGcd | Bdgd gaed :|  