Construct a music composition that includes the given motif, while conforming to the necessary musical form.
X:1
L:1/8
M:9/8
K:G
['A BAG']  
X:1
L:1/8
M:9/8
K:G
 GGG GBA GED | AAA AB/c/d cBA | GGG GBA GED | EAE GAB GED | GDG B2 A GED | AAA AB/c/d cBA | 
 GGG GBA GB/c/d | edB dBA GAB | c2 A BAG AGE | GGG GGE DEG | c2 A BAG d2 A | BAG GGD GAB | 
 c2 A BAG AGE | GGG GGD GAB | d3 d2 A BAG | AGE EEG cBA |]  