Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:4/4
K:D
['G2 F2 AF'  
X:1
L:1/8
M:4/4
K:D
"D" A,DFG A2 A2 | ABAG FEDF |"G" G2 BG"D" F2 AF |"Em" EDEF"A" EDCB, |"D" A,DFG A2 A2 | ABAG FEDF | 
"G" G2 BG"D" F2 AF |"A" EDEF"D" D4 ::"D" A d2 A d2 d2 | cded cB A2 |"Em" B e2 B e2 ef | 
"A" gfed cABc |"D" d2 fd"A" c2 ec |"G" BABc"D" BAFA |"G" G2 BG"D" F2 AF |"A" EDEF"D" D4 :|  