Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:2/4
K:G
['D GGB/B/B A2 GG dde/e/f g2 fd']  
X:1
L:1/8
M:2/4
K:G
 D | GGB/B/B | A2 GG | dde/e/f | g2 fd | gedc/A/ | GABd | c2 BF | G2 z |]  