Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/4
M:3/4
K:G
['D G2']  
X:1
L:1/4
M:3/4
K:G
 D | G2 D | G2 D | G2 A | B2 A | G2 B | B2 d | d3/2 c/ d | d d A | c2 B | B2 A | A2 e | e2 d | 
 d2 c | B2 |]  