Compose music that follows the specified structure and includes the provided theme
X:1
L:1/8
Q:1/2=96
M:4/4
K:G
['GABc dcBd gfge e2 d2 BdBG cecA', 'fafd gbge'  
X:1
L:1/8
Q:1/2=96
M:4/4
K:G
"_Allegro" GABc dcBd | gfge e2 d2 | BdBG cecA | BdBG GFED | GABc dcBd | gfge e2 d2 | BdBG cecA | 
 G2 F2 G2 z2 || defg fafd | gbge fafd | defg a2 c2 | BdBG GFED | BdBG cecA | fafd gbge | 
 dgfe dcBA | G2 G2 G2 z2 |]  