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 e3 c A2 f2 g2', 'g3 b agfe']  
X:1
L:1/8
M:2/4
K:D
 f | e3 c | A2 f2 | g2 ec | d3 f | e3 c | A2 f2 | g2 ec | d3 :| z | a2 af | g2 ge | f2 fd | e4 | 
 a2 af | g3 b | agfe | d4 | a/a/af | ggge | fffd | e2 fg | aaaf | g3 b | agfe | d2 cd ||  