Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
Q:3/8=88
M:3/8
K:Cmin
['g agf']  
X:1
L:1/8
Q:3/8=88
M:3/8
K:Cmin
 G | c2 c | edc | (B>A) G- | G2 e | g2 g | agf | (e>d) c- | c z G | c2 c | edc | (B>A) G- | G2 e | 
 g2 g | agf | gg g | agf | g3 | c2 e | ggg | agf | (g>f)e | fed | (e>d)c | dc=B | c3- | c ||  