Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['dFd dFd', 'd2 f'  
X:1
L:1/8
M:6/8
K:D
|: dFd dFd | dGd dGd | dFd dFd | cec Age | dFd d2 c | dGd d2 c | dFd dF/G/d |1 cAe Gec :|2 
 GEe gec |: d2 f FdF | G2 e [EA]ge | d2 f FdA | GEe gec | d2 f FdA | G2 e EAc | d2 f F2 d |1 
 cec Age :|2 cAa gg/f/e |]  