Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:4/4
K:C
['BGG AGE DGG', 'dge dBG'  
X:1
L:1/8
M:4/4
K:C
 |[M:9/8][K:G] Md | BGG AGE DGG | BAG GFG Azd | BGG AGE DGG | cBA BGE D2 :| c | B<(Mdc) dge dBG | 
 Bdd dBG Azd | Bdd dge dBG | cBA BGE Dzc | .B<(Mdc) dge dBG | Bdd dBG Azf |{a} gfe dBd cBA | 
 cBA BGE D2 |]  