Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:2/2
K:D
['dB |]: AF', 'EFDE F2 AF BFAF E2 BE dEBE', 'eAfA eA A2 efge fddc dfag fd'  
X:1
L:1/8
M:2/2
K:D
 dB |]: AF F2 EFDE | F2 AF BFAF | E2 BE dEBE | ABde fedB | AF F2 EFDE | F2 AF BFAF | E2 BE dEBE |1 
 ABde fddB :|2 ABde fdde |: fddc dfag | fd d2 dfaf | eA A2 eAfA | eA A2 efge | fddc dfag | 
 fd d2 dfaf | g2 gf gbag |1 faeg fdde :|2 faeg fddB |]  