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
['D>FA>F D>GB>G A>Fd>A f>dA>F', 'd2 (c>d) e>A^G>A f>AG>A g>ef>d e>A^G>A g>ef>d']  
X:1
L:1/8
M:4/4
K:D
 (F>E) | D>FA>F D>GB>G | A>Fd>A f>dA>F | G>Bd>g F>Ad>f | (3efd (3cdB (3ABG (3FGE | D>FA>F D>GB>G | 
 A>Fd>A f>dA>F | G>Be>g (3fed (3edc | d2 f2 d2 :: (c>d) | e>A^G>A f>AG>A | g>ef>d e>A^G>A | 
 g>ef>d e>cd>f | (3efd (3cdB (3ABG (3FGE | D>FA>F D>GB>G | A>Fd>A f>dA>F | G>Be>g (3fed (3edc | 
 d2 f2 d2 :|  