Compose melodies using the given motif and follow the designated arrangement.
X:1
L:1/8
M:6/8
K:D
['d A2 A AFA d2 d def', 'd2 f g2 g gab f2 f'  
X:1
L:1/8
M:6/8
K:D
 d | A2 A AFA | d2 d def | g2 e f2 d | efd B2 d | A2 A AFA | d2 d def | afd e2 f | d3- d2 :| f | 
 g2 g gab | f2 f fga | e2 e ede | f2 d B2 d | A2 A AFA | d2 e f2 g | afd e2 f | d3- d2 :|  