Compose melodies by merging the prescribed musical pattern and the supplied theme.
X:1
L:1/8
Q:1/8=300
M:6/8
K:D
['d2 d f(ed) cea ecA B2 B', 'DFA FAd Adf dfa', 'Aaa Bbb Ggg Aaa Ddd efg'  
X:1
L:1/8
Q:1/8=300
M:6/8
K:D
 A | d2 d f(ed) | cea ecA | B2 B d(fg) | Bed cBA | d2 d f(ed) cea ecA | B2 B d(fg) | B(ec) d2 :: 
 D | DFA FAd | Adf dfa | aga geg fdf ecA | DFA FAd | Adf dfa | dcd fed c(dB) A2 :: B | Aaa Bbb | 
 Ggg Aaa | Ddd efg | Bed cBA | Aaa Bbb | Ggg Aaa | Ddd efg | B(ec)d :|  