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
['ag fefg agfe dcdf A2 AG FAdf', 'd2 cd edcB ABcd edef e2 de']  
X:1
L:1/8
M:4/4
K:D
|: ag | fefg agfe | dcdf A2 AG | FAdf gfed | cdef e2 ag | fefg agfe | dcdf A2 AG | FAdf egce | 
 d2 d2 d2 :: cd | edcB ABcd | edef e2 de | fedc Bcde | fefg f2 AG | FA d2 GB e2 | Ad f2 Bd g2 | 
 f2 ed Bdce | d2 d2 d2 :|  