Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/8
M:9/8
K:D
['D F>GA dBG AFD EFG efg Tc2', 'd2 g f>ed (f/g/a)f ecA BGB efg'  
X:1
L:1/8
M:9/8
K:D
 D | F>GA dBG AFD | EFG efg Tc2 A | F>GA B/c/dB AFD | FAF Edc d2 :: g | f>ed (f/g/a)f ecA | 
 BGB efg c2 A | FDF ABc def | Bgf edc d2 :|  