Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:D
['fga Add', 'f3 Adf', 'd ag f2 A fdd gBB B2', 'faf dfd']  
X:1
L:1/8
M:6/8
K:D
|: ag | f3 fga | Add def | g2 B Bed | cba gec | d2 a fga | Add ded | cAa gec | d3- d :: ag | 
 f3 Adf | gec ege | c3 Ace | afe dag | f3 Adf | gee e2 d | Aca gec | d3- d :: ag | f2 A fdd | 
 gBB B2 d | cde ABc | dfa ABc | d2 A fed | gBB e2 d | cAa gec | d3- d :| z a | faf dfd | gBB B2 g | 
 cde Abc | dfa ABc | daf dfd | gBB Bed | cAa cea | d3- dag | faf dfd | gBB B2 g | ege cea | 
 baa a2 g | faf dfd | Bef ged | cAa gec | d3- d2 ||  