Create music by using the provided motif and adhering to the specified musical form.
X:1
L:1/8
Q:1/2=96
M:4/4
K:D
['dAFA GBAG FAFA GBAG', 'ecAc ecge'  
X:1
L:1/8
Q:1/2=96
M:4/4
K:D
"_Allegro" A/B/4c/4 | dAFA GBAG | FAFA GBAG | FDFD GEGE | FDFD ECB,A, | dAFA GBAG | FAFA GBAG | 
 FAdg fedc | d2 d2 d2 || cd | ecAc ecge | fdAd fdaf | ecAc ecge | fdcB A2 A2 | BGDG BGdB | 
 AFDF AFdA | BdcB AGFE | D2 d2 d2 |]  