Create a composition based on the provided motif, following the specified musical form.
X:1
L:1/8
Q:1/4=112
M:9/8
K:G
['e dBd gag fed', 'dBG GAG GAG'  
X:1
L:1/8
Q:1/4=112
M:9/8
K:G
"^Allegretto" e | dBd gag fed | g2 B BcB d2 e | dBd gag fed | a2 A ABA c2 :: e | dBG GAG GAG | 
 dBG G2 B d2 g | dBG GAG GAG | c2 A ABA c2 e :|  