Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
Q:1/4=220
M:4/4
K:D
['BAGF GEEF GEBE GE E2', 'd2 (3efg fdec', 'FAdA FAdA'  
X:1
L:1/8
Q:1/4=220
M:4/4
K:D
 BAGF GEEF | GEBE GE E2 | BAGF GEEG | FDAG FD D2 | BAGF GEEF | GEBE GE E2 | BAGFGABc dBAG FD D2 :| 
 d2 eg fdec | d2 eg fB B2 | d2 (3efg fdec | dBAG FD D2 | d2 (3efg fdec | dfaf g2 fg | afge fdec | 
 dBAG FD D2 :| FAdA FAdA | FAdA GE E2 | FAdA FABc | dBAG FD D2 | FAdA FAdA | FAdA GE E2 | 
 fedc dBAF | GBAG FD D2 :|  