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
['A>B AF', 'cB Ad cd fe e>g fd e/d/e/g/']  
X:1
L:1/8
M:2/4
K:D
 A>B AF | DF AF | A>B AF | GF E2 | DE FG | AB cd | e>d ce |1 dA BG :|2 d2 d>e || fd e/d/e/g/ | 
 fd cB | Ad cd | fe e>g | fd e/d/e/g/ | fd cB | Ag ec |1 d2 d>e :|2 d2 d2 ||  