Compose melodies based on the specified pattern and provided motif.
X:1
L:1/4
M:4/4
K:G
['A A']  
X:1
L:1/4
M:4/4
K:G
 D | G G/G/ G G | G B/>B/ A G | A2 z D | A A/A/ A A | A B/>B/ c d | B2 z d/c/ | B B B d | 
 d3/2 c/ c c/B/ | A A A e | e3/2 d/ d c | B B A d/c/ | B2 z d/c/ | B B B d | d3/2 c/ c c/B/ | 
 A A A e | e3/2 d/ d c | B B A d/c/ | B2 z |]  