Construct a musical work that combines the specified alphabet-based pattern with the given melodic theme.
X:1
L:1/8
M:4/4
K:G
['(3DEF G>FG>B A>GE>D G>Bd>g e2 (3def g>fg>d', 'g>fg>d e>dB>G']  
X:1
L:1/8
M:4/4
K:G
|: (3DEF | G>FG>B A>GE>D | G>Bd>g e2 (3def | g>fg>d e>dB>G | A>BA>G E2 (3DEF | G>FG>B A>GE>D | 
 G>Bd>g e2 (3def | g>fg>d e>dB>G | A>GE>F G2 :: (3def | g>fe>g f>ed>f | e>de>f e>dB>d | 
 g>fg>d e>dB>G | A>BA>G E2 (3DEF | G>FG>B A>GE>D | G>Bd>g e2 (3def | g>fg>d e>dB>G | 
 (3ABA E>F G2 :|  