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
['D2 FA BAFA dcdf edAF G2 BG', 'f e2 ce']  
X:1
L:1/8
M:4/4
K:D
 D2 FA BAFA | dcdf edAF | G2 BG F2 AF | EDEF GFED | D2 FA BAFA | dcdf edAF | G2 BG FAdf |1 
 ecAc d4 :|2 edcA d3 a |: fafd Adfd | Bdef g3 f | e2 ce Acec | defg a3 g | fafd Adfd | Bdef g3 f | 
 e2 ce agec |1 dfec d3 g :|2 dfec dBAF ||  