Develop a musical composition by integrating the alphabetically represented musical pattern and the supplied melodic theme.
X:1
L:1/8
Q:1/8=180
M:12/8
K:D
['f2 e d2 B BAB', 'e2 e']  
X:1
L:1/8
Q:1/8=180
M:12/8
K:D
 fdB BAB g2 g f2 e | d2 B BAB e2 e efe | dfd BAB g2 e f2 e | d2 B BAB A3 A3 :| faf e2 e faf efe | 
 d2 B BAB e2 e ede | faf e2 e faf efe | d2 B BAB A3 A3 :|  