Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
Q:1/8=300
M:6/8
K:G
['GAB- BAB GBd- def gfg', 'gfg edB ded def'  
X:1
L:1/8
Q:1/8=300
M:6/8
K:G
|: GAB- BAB | GBd- def | gfg gfg | dgB A2 B | GAB- BAB | GBd- def | gfg edB | ABA G3 :: gfg edB | 
 ded def | gfg gfg | eaa a2 f | gfg edB | ded def | gab age | def g3 :|  