Craft a composition that integrates the assigned alphabet-related musical pattern and the provided melodic theme.
X:1
L:1/16
Q:1/8=180
M:2/4
K:none
['', 'E2AB ABcd efec d2cd', 'ef g2>a2 gfef gage d2cd ecAB ABcA']  
X:1
L:1/16
Q:1/8=180
M:2/4
K:none
[K:D]|: AG | E2AB ABcd | efec d2cd | ecAB ABcA | BGEF G2AG | E2AB ABcd | efec d2cd | efaf gedB | 
 A2B2A2 :: ef | g2>a2 gfef | gage d2cd | ecAB ABcA | BGEF G2AG | E2AB ABcd | efec d2cd | 
 efaf gedB | A2B2A2 :|  