Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:3/4
K:D
['f>g f<e'  
X:1
L:1/8
M:3/4
K:D
|:"D" f>g f<e d<c | d2 F4 | A>B c<d e<f |"G" g2 B4 |"Em" g>a g<f e<d | e2 B4 |"A7" c>d c<B G>B | 
"D" B<A F4 |"D" f>g f<e d<c | d2 F4 | A>B c<d e<f |"G" g2 B4 |"A7" g>a g<f e<d |"D" f>g f<e d<c | 
"A7" e>f e<A Bc |"D" d2 d4 ::"A" A2 A<B c2 |"D" d2 f2 a2 | f2 f<e d2 |"G" c2 B4 |"A7" E2 E<F G2 | 
 A2 c2 e2 | e2 e<d c2 |"D" B2 A4 |"A" A2 A<B c2 |"D" d2 f2 a2 | f2 f<e d2 |"G" c2 B4 | 
"A7" g>a g<f ed |"D" f>g f<e dc |"A7" e>f e<A Bc |"D" d2 d4 :|  