Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:4/4
K:G
['edBA G3 A', 'd3 c BGBd eaaf gfef']  
X:1
L:1/8
M:4/4
K:G
|: edBA G3 A | B2 Ac BGEF | GAGE DEGA | BddB A2 (3Bcd | edBA G3 A | BdAc BE E2 | GAGE DEGA | 
 BGAB G3 B :: d3 c BGBd | eaaf gfef | dedc BGBd | egfa g3 e | d3 c BGBd | eaaf gfef | d3 f e3 g | 
 fgaf gfed :|  