Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['F2 G'  
X:1
L:1/8
M:6/8
K:D
|:"D" D3 D3 |"D" d2 d d2 c |"D" B2 A"A7" F2 G |"D" A3"A7" F2 E |"D" D2 E F2 G |"D" A2 B c2 d | 
"E7" e2 ^d e2 f |"A" e3-"A7" e3 || |"D" d2 e f2 e |"G" d2 c d2 B |"D" A2 B A2 F |"A7" E3 F2 G | 
"D" A3 A3 |"D" A2 A"B7" A2 A |"E7" d2 c"A7" B2 c |1"D" dBA"A7" GFE :|2"D" [dD]6 |]  