Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:4/4
K:G
['d>e d2 B>A (3GAB', 'G2 z d e>f g>d e>f g2'  
X:1
L:1/8
M:4/4
K:G
|: (3(DEF) | G>B A>F G2 (3DEF | G>B d>e d2 B>A | (3GAB d>e d2 B>A | (3GAB A>F G2 :: z d | 
 e>f g>d e>f g2 | e>f g>a g2 f>e | d2 d>e d2 B>A | (3GAB A>F G3 :|  