Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:2/2
K:D
['FG ABAF A2 de d2 dA'  
X:1
L:1/8
M:2/2
K:D
 FG |"D" ABAF A2 de |"A" fgef"D" d2 dA |"G" BcdB"D" ABAF |"A" G2 E2 E2 FG |"D" ABAF A2 de | 
"A" fgef"D" d2 dA |"G" BcdB"A" ABAG |"D" F2 D2 D2 :: ag |"D" fefg afdf |"A" edcB Adfa | 
"G" g2 bg"D" f2 af |"A" g2 e2 e2 FG |"D" ABAF A2 de |"A" fgef"D" d2 dA |"G" BcdB"A" ABAG | 
"D" F2 D2 D2 :|  