Compose a piece of music using the specified letter-based musical form and incorporating the assigned motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['d2 g2 fe edcB cecA GFED B,DGD', 'g2 g2']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
"^Allegro" d2 | g2 fe edcB | cecA GFED | B,DGD cBAG | F2 D2 D2 d2 | g2 fe edcB | cecA GFED | 
 B,DGD EGcA | B2 G2 G2 || d2 | dcBc de=fd | egBd c2 z e | ed^cd efga | fa^ce d2 z d | g2 g2 gdBd | 
 g2 g2 gece | gdBGEGcA | B2 G2 G2 ||  