Compose melodies using the given motif and follow the designated arrangement.
X:1
L:1/8
M:4/4
K:D
['BEEE d3 B ADDE FGAd', 'E2 edef ggfe defg afdf'  
X:1
L:1/8
M:4/4
K:D
 BEEE d3 B | ADDE FGAd | BEEF GABc | dddf eedc | BEEE d3 B | ADDE FGAd | BGEF GABc | d2 Ac BE E2 || 
 edef ggfe | defg afdf | edef (3gagfe | dBAd BE E2 | edef ggfe | defg afdf | (3aag fg egfe | 
 dBAF EFGA ||  