Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:2/4
K:D
['d2 Tc2 (dA) (FD) dfed c2 TB2', 'A4 AB cd e2 f2 gbag Tf4']  
X:1
L:1/8
M:2/4
K:D
|: d2 Tc2 | (dA) (FD) | dfed | c2 TB2 | AceG | FdcB | A2 T^G2 | A4 :: AB cd | e2 f2 | gbag | Tf4 | 
 egfc | dB A2 | TB3 c | dBAG | F2 TE2 | D4 :|  