Craft a composition that integrates the assigned alphabet-related musical pattern and the provided melodic theme.
X:1
L:1/8
Q:1/2=60
M:2/2
K:D
['F2 D>F A2 F>A', 'z d2 f>d B2 d>B AFdB A>FE>D']  
X:1
L:1/8
Q:1/2=60
M:2/2
K:D
|:"^A" D/E/ | F2 D>F A2 F>A | d2 A>d f2 d>f | a2 b<a g2 f2 | e2 e>e e2 DE | F2 D>F A2 F>A | 
 B>cd>e dcBA | B>cd>e f2 (g/f/e/d/) | d2 d>d d2 A ::"^B""_rest added" z | d2 f>d B2 d>B | 
 AFdB A>FE>D | FAdc BAGF | E2 E>E E2 D>E | F2 D>F A2 F>A | B>cd>e dcBA | Bcde f2 e2 | 
 d2 d>d"_NB2" d3 :|  