Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:Ddor
['FD (3DDD defd', 'AD FD EGGF'  
X:1
L:1/8
M:4/4
K:Ddor
 FD (3DDD defd | cdAc ECCE | FD (3DDD defd | cGAc dDDE :| AD FD EGGF | ECGC ACGC | AD (3FED EGGF | 
 EGcG ED D2 | AD FD EGGF | EGcd eg(3ggg | afge fdec | Adce fd d2 ||  