Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:D
['FG ABAF DE', 'D2 D2'  
X:1
L:1/8
M:4/4
K:D
 FG |:"D" ABAF DE (3FED |"G""D" DE | FEFA BAFD |"A" E2 ED E2 FG |"D" ABAF DE (3FED |"G""D" DE | 
 FEFD"A" EDEF |1"D" D2 D2 D2 FG :|2"D" D2 D2 D2 FA |:"G" B2 BA BcdB |"D" A2 AB AFDF | AFAF BAFD | 
"A" E2 ED E2 FG |"D" ABAF DE (3FED |"G""D" DE | FEFD"A" EDEF |1"D" D2 D2 D2 FA :|2 
"D" D2 D2 D2 FG ||  