Generate musical melodies using the prescribed motif and the assigned arrangement.
X:1
L:1/8
M:4/4
K:D
['A2 BA d2']  
X:1
L:1/8
M:4/4
K:D
 A | A2 BA d2 d>c | BAB<d A2 dc | B2 B>c dcdf | e2 e>f e3 f A2 | BA d2 dc | B>cde f3 A | 
 B2 e>d dcBc | d2 d>f d2 |]  