Craft a composition that integrates the assigned alphabet-related musical pattern and the provided melodic theme.
X:1
L:1/8
M:2/2
K:D
['f2 fd', 'b2 ba gfge a2 ag f2']  
X:1
L:1/8
M:2/2
K:D
 d>e | f2 fd f2 fd | f2 fd cAec | f2 fd gfed | cABc d2 :| df | a2 a>f b2 ba | gfge a2 ag | 
 f2 fd B2 ge | cABc d2 df | a2 af b2 ba | gfge a2 ag | f2 f>d B2 ge | cABc d2 d2 |]  