Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:4/4
K:Gmin
['', 'gaba g2 fd', 'BdgB AG^FA G2 GA :|2 Bcd=e fgfd'  
X:1
L:1/8
M:4/4
K:Gmin
 d |: gaba g2 fd | cdfg agfa | gaba g2 fd |1 cdfA G2 Gd :|2 cdfA G2 Gc |: B/c/d BG BdgB | 
 A/B/c AF AcfA |1 B/c/d BG BdgB | AG^FA G2 GA :|2 Bcd=e fgfd | cfcA G2 G ||  