Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
M:4/4
K:D
['D2 ED EGAB =cBcd c2 AG']  
X:1
L:1/8
M:4/4
K:D
 E |"D" D2 ED EGAB |"C" =cBcd c2 AG |"D" Addc d2 cd |"A" edcd"^(D)" edcd |"D" D2 ED EGAB | 
"C" =cBcd c2 AG |"A7" ABAG EGAB |"C" =cAGE"D" ED D :: z |"C" eggf g2 ed | =cded cAAg | 
"Am" eaag a2 ag | eaag edcd |"C" eggf g2 ed | =cded cAAG |"Am" ABAG EGAB |"C" =cAGE"D" ED D :|  