Compose a piece of music using the specified letter-based musical form and incorporating the assigned motif.
X:1
L:1/8
M:9/8
K:G
['A BGG AGE DGG', 'Bdd ege']  
X:1
L:1/8
M:9/8
K:G
 A | BGG AGE DGG | BAG GFG A2 A | BGG AGE DGG | BdB cAF G2 :| G | Bdd ege dBG | Bdd ege d3 | 
 Bdd ege dBG | B2 B AGE G2 :|  