Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['B2 A', 'B2 A'  
X:1
L:1/8
M:6/8
K:D
 B |"D" AFD DFA |"D" ABd"G" B2 A |"D" ABA FEF |"G" GFG EFG |"D" AFD DFA |"D" ABd"G" B2 A | 
"D" ABA"D" F2 E |"A" FDD"D" D2 || e |"D" fdd"A" ede |"D" fdd d2 e |"D" fef def |"G" g3 efg | 
"D" fed"G" B2 A |"D" AdF"G" G2 z |"D" ABA F2 E |"A" FDD"D" D2 :| B |"D" AFD DFA |"D" ABd"G" B2 A | 
"D" ABA FEF |"G" GFG EFG |"D" AFD DFA |"D" ABd"G" B2 A |"D" ABA"D" F2 E |"A" FDD"D" D2 |] e | 
"D" fdd"A" ede |"D" fdd d2 e |"D" fef def |"G" g3 efg |"D" fed"G" B2 A |"D" AdF"G" G2 z | 
"D" ABA F2 E |"A" FDD"D" D2 :| A |"D" def edB |"D" AFD"G" EFD |"D" DFA AFA |"G" Bcd ecA | 
"D" def edB |"D" AFD"G" EFD |"D" D3 AFA |"A" Bec"D" d2 || e |"D" fdd"A" ede |"D" fdd d2 e | 
"D" fef def |"G" g3 efg |"D" fed"G" B2 A |"D" AdF"G" G2 z |"D" ABA F2 E |"A" FDD"D" D2 :| B | 
"D" AFD DFA |"D" ABd"G" B2 A |"D" ABA FEF |"G" GFG EFG |"D" AFD DFA |"D" ABd"G" B2 A | 
"D" ABA"D" F2 E |"A" FDD"D" D2 |] e |"D" fdd"A" ede |"D" fdd d2 e |"D" fef def |"G" g3 efg | 
"D" fed"G" B2 A |"D" AdF"G" G2 z |"D" ABA F2 E |"A" FDD"D" D2 :|  