Create a composition by utilizing the given alphabet-based musical pattern and the provided melodic theme.
X:1
L:1/8
M:4/4
K:G
['', 'D2 GFGA Bc^cd FDDD FGAF |1 GABc', 'egdB cAFA']  
X:1
L:1/8
M:4/4
K:G
 D2 |: GFGA Bc^cd | FDDD FGAF |1 GABc ^cdBG | FDFA G2 GD :|2 GABc defg | ecAc BGBd || g2 gf edcB | 
 a2 ag fdd^c | defg egdB | cAFA BGBd | g2 gf edcB | a2 ag fdef | gbfg egdB | cAFA G2 GD ||  