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:12/8
K:A
['c2 B', 'c2 B']  
X:1
L:1/8
M:12/8
K:A
 D | CFA c2 B AFF F2 G | (AG)A c2 B AFE E2 D | CFA c2 B AFF F2 a | f>ed c2 B AFD D2 :| f | 
 e2 d c2 B A2 B c2 a | e2 d c2 B AFF F2 a | e2 d c2 B A2 B c2 A | B>AB c2 B FAA E2 a | 
 e2 d c2 B A2 B c2 a | e2 d c2 B AFF F2 f/g/ | agf edc (B>AB) cea | f>ed c2 B AFF E2 ||  