Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['d2 f2 ecBA B2 gB', 'ec TA2 agfe'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
 d2 f2 ecBA | B2 gB A2 GF | G2 eG F2 dF | Edcd ecBA | d2 f2 ecBA | B2 gB TA2 G2 | GAeG FAdF | 
 Edce d2 z2 ::"^NB" dfed gedc | BdcB B^ABF | BdcB egfe | dcB^A B2 Tc2 | df a2 ec TA2 | agfe fdBd | 
 Bd g2 ec TA2 | agfe fdcA :|  