Create a composition by utilizing the given alphabet-based musical pattern and the provided melodic theme.
X:1
L:1/8
Q:1/4=120
M:6/8
K:D
['d2 d', '', 'd e>dc BcA d2 d ecA', 'f/g/ a2', 'gfg a3 f3 e2 e efd B3']  
X:1
L:1/8
Q:1/4=120
M:6/8
K:D
"^Gaily""^A" | A | ABc d2 d | d2 d edc/A/ | ABc d2 d | fed cdB |]"^B" |] ABc d2 d | e>dc BcA | 
 d2 d ecA | d3"^fine" d2 |]"^C" |] f/g/ | a2 f gfg | a3 f3 | e2 e efd | B3 A2"^->B" A |]  