Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:D
['', 'FG A2 f2 fedB A2 AB AGFA', 'FG A2 ^GA Bcde f2 A2'  
X:1
L:1/8
M:4/4
K:D
 FG |: A2 f2 fedB | A2 AB AGFA | d2 cd b2 a2 | g2 ga gfed | c2 cd cBAc | d3 c defg | a2 ^ga b2 c2 | 
 d4- d2 FG :: A2 ^GA Bcde | f2 A2 f2 FG | A2 ^GA Bcde | f2 A2 fagf | eagf edcB | Aagf edcB | 
 A/B/A ^GA B2 c2 | d4- d2 FG :|  