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
['EFGA Bded', 'D2 fddA AFFD DFAd f2 ef geee'  
X:1
L:1/8
M:4/4
K:D
|: D2 FA d3 A | BAGB AFFF | GEED EFGA | Bded cA A2 | f2 df edce | d2 cd BAGF | EFGA Bded | 
 cAGE ED D2 :: fddA AFFD | DFAd f2 ef | geee gfec | dfed cAGE | DFFA Adcd | Bddg fedB | Adfa gfec | 
 dBAG FD D2 :|  