Create melodies using the given musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:D
['A>BAF DEFG AGFD c2 (3ABc defd', 'D2 z2 f2{g} fd cAGF D2 g2'  
X:1
L:1/8
M:2/2
K:D
 FG | A>BAF DEFG | AGFD c2 (3ABc | defd cAGF | D>G{A} (3GFG D>GG z | A>BAF DEFG | AGFD c2 (3ABc | 
 defd c<AAG | F2 D2 D2 :: z2 | f2{g} fd cAGF | D2 g2 g2 af | d3 e fdec | Addc Add z | efec ABcA | 
 dcAB c2 (3ABc | defd c<AAG | F2 D2 D2 :|  