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
['dBcA BGFG'  
X:1
L:1/8
M:4/4
K:D
 AG |"D" F2 DF ABAG | FADF A2 d2 |"D" D3 F ABAF |"A7" GFEF G2 AG |"D" F2 DF ABAG |"D" FADF A2 d2 | 
"D" D3 F ABAF |"A7" GFEF G ||[K:G] Bc |"G" dBcA BGFG |"D7" Ad^cd A2 B=c |"G" dBcA BGFG | 
"D7" AcBA"G" G2 Bc |"G" dBcA BGFG |"C6" ABcd efge |"G" dBcA BGFG |"D7" AcBA"G" G2 ||[K:D] ag | 
"D" fddd fddd |"D" fdfg"A7" abag |"D" fddd fddd |"C" edef g2 ag |"D" fddd fddd |"D" fdfg"A7" abag | 
"D" fddd fddd |"C" edef g2 Bc |[K:G]"G" dBcA BGFG |"D7" Ad^cd A2 B=c |"G" dBcA BGFG | 
"D7" AcBA"G" G2 Bc |"G" dBcA BGFG |"C6" ABcd efge |"G" dBcA BGFG |"D7" AcBA"G" G2 ||  