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
['GBAG FDFD', 'd2 (cd) ecAc efge fdAd fgaf ecAc'  
X:1
L:1/8
M:2/2
K:D
 (3(ABc) | dAFA GBAG | FDFD GBAG | FDFD GFGB | AFDF E2 (3(ABc) | dAFA GBAG | FDFD GBAG | 
 FAdf{a} gece | d2 d2 d2 :: (cd) | ecAc efge | fdAd fgaf | ecAc efgf | edcB A2 A2 | BGDG BcdB | 
 AFDF ABcA | BcdB AGFE | D2 D2 D2 :|  