Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/16
M:2/4
K:D
['A^GAB ABcd edcB', 'd2f2d2 cd edcd egfe fede fagf gbbg'  
X:1
L:1/16
M:2/4
K:D
 A2 | A^GAB ABcd | edcB A2A2 | dAFA dAFD | EDEF E2E2 | A^GAB ABcd | edcB AGFE | FAdf EAce | 
 d2f2d2 :: cd | edcd egfe | fede fagf | gbbg faaf | edcB A2a2 | bggb affa | gfed cBAG | FAdf EAce | 
 d2f2d2 :|  