Craft a composition that integrates the assigned alphabet-related musical pattern and the provided melodic theme.
X:1
L:1/4
M:4/4
K:D
['A A2', 'A A2']  
X:1
L:1/4
M:4/4
K:D
 D A A2 | B A A2 | D E F G | F E E2 | D A A2 | B A A2 | D E F G | F E D2 :| d A A2 | B A A2 | 
 D E F G | F E E2 | d A A2 | B A A2 | D E F G | F E D2 :|  