Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['d<df>d g>ef>d', 'A>D (F/E/)D'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
"^cr in book" A | d<df>d g>ef>d | B<Be>d (c<A)(A>c) | d<df>d g>ef>d | B>e (d/c/B/A/) d2 d :: B | 
 A>D (F/E/)D A>Bd>f | g>ef>d e>dB>d | A>D (F/E/)D A>Bd>b | (a<f)e>f d2 d :|  