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:D
['', 'c2 cB cecA d2', 'A2 efge afed edef ec A2 (3Bcd']  
X:1
L:1/8
M:4/4
K:D
 AB |: c2 cB cecA | d2 dc dfaf | c3 B cfaf | ecAc BAFE | c2 cB cecA | d2 (3ABc dfaf | 
 ec (3ABc BAFE | A2 A^G A2 :: efge afed | edef ec A2 | (3Bcd (3efg afed | e3 d efed | c2 cB cecA | 
 d2 (3ABc dfaf | ec (3ABc BAFE | A2 A^G A4 :|  