Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:2/2
K:D
['a2 a>g e>ce>g', 'A>Bc<d e2 g2 f>aa>g e2 c2 A>ce>c'  
X:1
L:1/8
M:2/2
K:D
 a2 a>g e>ce>g | g>fa>f d2 f>g | a2 a>g e>ce>g | f2 a>f d4 :: A>Bc<d e2 g2 | f>aa>g e2 c2 | 
 A>ce>c d2 d2 | E>^G B2 (3BcB A2 | A>Bc<d e2 g2 | f>aa>g e2 c2 | A>ce>c d2 d2 | E>^G B2 A4 :|  