Craft a composition that integrates the assigned alphabet-related musical pattern and the provided melodic theme.
X:1
L:1/8
M:2/4
K:D
['f>f fd cd ef', 'ef/e/ dB BA']  
X:1
L:1/8
M:2/4
K:D
|: f>f fd | cd ef | g>g gf | ed Ad | f>f fd | cd ef | ab/a/ ge | ed d2 :: ef/e/ dB | BA cd | 
 ef/e/ dB | BA A2 | ef/e/ dB | BA ce | ab/a/ ge | ed d2 :|  