Create a musical composition based on the alphabetic representation of the predetermined pattern and the given melodic theme.
X:1
L:1/8
M:4/4
K:G
['GFGA BGAB', 'EGDF GFGA BGAB', 'GABc d2 (3ddd', 'c3 B ABAG']  
X:1
L:1/8
M:4/4
K:G
 DGGG EGDF | GFGA BGAB | Bc c2 ABAG | FGAG FDEF | GEEE EDEF | GFGA BGAB | c3 B ABAG | FDEF G4 || 
 DGGG EGDF | GFGA BGAB | Bc c2 ABAG | FGAG FDGA | BGGG EGDF | GFGA BGAB | c3 B ABAG | FDEF G4 || 
 GABc d2 (3ddd | dDcD B2 AB | c3 B ABAG | FGAG FDEF | GABc d2 (3ddd | dged BGAB | c3 B ABAG | 
 FDEF G4 || GABc d2 (3ddd | dDcD B2 AB | c3 B ABAG | FGAG FDEF | GEEE EDEF | GFGA BGAB | 
 c3 B ABAG | FDEF G4 ||  