Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:3/4
K:D
['A, DE F4 F2 F4 FE F2', 'ED FB AF EF D3'  
X:1
L:1/8
M:3/4
K:D
 A, DE |:"D" F4 F2 |"^(DM7)" F4 FE |"^(D6)" F2 A3 B |"D" AF D2 DE |"D" F2 d2"G" B2 |"D" A3 D ED | 
"A7" FB AF EF |1"D" D3 A, DE :|2"D" D3 A Bc |:"D" (d4 d)d |"^(DM7)" dc BA Bc |"^(D6)" d3 B AF | 
"D" D4 d2 |"Em" e4 ef | e2 d2 e2 |"Bm" f3 a fe | dc BA Bc |"G" d4 de | d2 c2 B2 |"D" A3 B AG | 
 FE DA, DE |"D" F2 d2"G" B2 |"D" A3 D ED |"A7" FB AF EF |1"D" D3 A Bc :|2"D" D3 |]  