Craft a composition that integrates the assigned alphabet-related musical pattern and the provided melodic theme.
X:1
L:1/8
M:4/4
K:D
['AFDF AFDF A2 AG EFG z AFDF']  
X:1
L:1/8
M:4/4
K:D
 AFDF AFDF | A2 AG EFG z | AFDF AF D2 | AFEG FD D2 :|  