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
['f3 d e/f/g (f2 f)e f/e/d{f} edBA', 'B3 A Bd (G2']  
X:1
L:1/8
M:4/4
K:D
|: f3 d e/f/g (f2 | f)e f/e/d{f} edBA | dAfB dg (f2 | f)ef/e/d ede/f/g | f3 d e/f/g (f2 | 
 f)e f/e/d{f} edBA | dAfB dg e2 |1 f/e/dce d2 d/d/d :|2 f/e/dce dD E/F/A || B3 A Bd (G2 | 
 G4) GFEG | F2 DE/F/ A d2 A | B/c/da f2 edc | B3 A Bd (G2 | G4) ED E2 | DEDE FEFG | A2 DE FAdc | 
 B3 A Bd (G2 | G4) GFEG | F2 DE/F/ A d2 A | B/c/da f2 edc | B3 A Bd (G2 | G2) A/B/d edce | 
 da{e}fe dBAF | D2 A2 d2 e2 ||  