Create a composition by utilizing the given alphabet-based musical pattern and the provided melodic theme.
X:1
L:1/8
M:6/8
K:D
['d2 d dfd |{d} c2 B ABc', 'edc b2 c d2 ^g/a/ bag fed']  
X:1
L:1/8
M:6/8
K:D
 A | d2 d dfd |{d} c2 B ABc | d2 d{f} ede | f2 a gfe | d2 d dfd |{d} c2 B ABc | dfa Bge d2 c d2 :| 
 e | eae edc | b2 c d2 ^g/a/ | bag fed | c2 d e2 e | eae f2 f | fbf ^g2 g | a^gf edc | 
 BA^G"^da Capo" A2 |]  