Compose melodies using the given motif and follow the designated arrangement.
X:1
L:1/4
M:4/4
K:G
['D G A B c d3/2 d/', 'd B G A2'  
X:1
L:1/4
M:4/4
K:G
 D | G A | B c | d3/2 d/ d | d2 d | e d | c B | B3/2 A/ A | A2 d || B G | A2 d | B G | A2 D | G A | 
 B c | d c A | G2 :|  