Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:2/2
K:G
['GABG AE E2 G3 B dg (3efg', 'fgag fd d2 edef g3']  
X:1
L:1/8
M:2/2
K:G
 e3 d B3 A | GABG AE E2 | G3 B dg (3efg | dBAc BG G2 | gfed edBA | GABG AE E2 | G3 B dg (3efg | 
 dBAc BG G2 || fgag fd d2 | edef g3 f | eB B2 GB B2 | BAGA BA A2 | fgag fd d2 | edef g3 a | 
 bgaf gfed | egfa g3 f ||  