Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=244
M:4/4
K:D
['D<DF>D d/c/B/A/ F2 BEEF G>AB<d D<DF>A d/c/B/A/', 'd>AF>A d/c/B/A/ d2'  
X:1
L:1/8
Q:1/8=244
M:4/4
K:D
 D<DF>D d/c/B/A/ F2 | BEEF G>AB<d | D<DF>A d/c/B/A/ FD | Adce dDdf :| | d>AF>A d/c/B/A/ d2 | 
 e<E E>F G>ABc | d>AF>A d/e/f/g/ ag | fdAG FDFA | d>AF>A d/c/B/A/ d2 | e>EE>F G>AB>c | dfec dBAF | 
 GBAc dDdf |]  