Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:9/8
K:G
['dBG GBG', 'def gag fed'  
X:1
L:1/8
M:9/8
K:G
|: dBG GAG BAG | dBG GBG efg | dBG GBG BAG | ecA ABA cde :: def gag fed | g2 B BcB dcB | 
 def gag fed | a2 A AcB cBA :|  