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 BGdG eGdG', 'eg g2']  
X:1
L:1/8
M:4/4
K:G
 BGEG DEGA | BGdG eGdG | BE E2 DEGA | BGdB G2 GA | B2 EG DEGA | BGdG eGdG | BG G2 EG G2 | 
 FGAF G2 GA | BGEG DEGA | BGdG eGdG | BGEG DEGA | BGdB G3 A | BG G2 FG G2 | EG G2 eG G2 | 
 BG G2 eGdG | FGAF G3 A |: BABd eg g2 | eaag ef g2 | GABd g2 eg | dBAB GE D2 | GABd eg g2 | 
 e2 ag efga | bgag egdG |1 FGAF G2 GA :|2 FGAF G4 ||  