Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
M:4/4
K:G
['', 'DEGA BG', 'GFED Bd d2 edBG DEGA BGGA BddB']  
X:1
L:1/8
M:4/4
K:G
 D |: B,DG,D EDB,D | GEDB, CB,A,G, | B,DG,E DB,A,B, |1 DEGA BG GD :|2 DEGA BG GA || BddB A2 GA | 
 B z AF GFED | Bd d2 edBG | DEGA BGGA | BddB A2 GA | B z AF GFED | B,A,B,D CB,CE | DEGA BG G2 ||  