Compose melodies using the given motif and follow the designated arrangement.
X:1
L:1/8
M:2/4
K:D
['A dfeg fedc dgfe d2 cA dfeg', 'a A dfeg fa fe dABc d2'  
X:1
L:1/8
M:2/4
K:D
 A | dfeg | fedc | dgfe | d2 cA | dfeg | faae | fef^g | a2 a :: A | dfeg | fa fe | dABc | d2 d2 | 
 fefe | fd g2 | agfe | d2 d :|  