Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/16
M:2/4
K:G
['G2G2 GBdB AGAB Agfa', 'e2ef gfge'  
X:1
L:1/16
M:2/4
K:G
 g2 | G2G2 GBdB | AGAB Agfa | GABc BcAB | G2g2 g2fa | G2G2 GBdB | AGAB Agfa | g2e2 gfed | 
 B2e2 e2 :: B2 | e2ef gfge | f2>a2 d2>B2 | e2ef gfge | f2g2 a2ga | B<Ba2 a2ef | gfge d2ef | 
 g2G2 GABc | B2B2 e2>e2 :|  