Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:1/8=120
M:2/4
K:D
['fg/e/ fe', 'edd f/g/ aA AG/A/ BA B/A/F/A/ fe'  
X:1
L:1/8
Q:1/8=120
M:2/4
K:D
 f/d/ | Ad f2 | gf/g/ fg/e/ | fe f/e/c | ed dc/d/ | Ad fd/f/ | ge/g/ fg/e/ | fe ac | edd :| f/g/ | 
 aA AG/A/ | BA B/A/F/A/ | fe ec | ed d/e/f/g/ | aA B/G/F/A/ | BA A/G/A/d/ | fe aA | edd :|  