Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:6/8
K:G
['g3 B2 A GBA GBd ege edB', 'gbb gbb']  
X:1
L:1/8
M:6/8
K:G
 g3 B2 A | GBA GBd | ege edB | dBA A2 B | dgg gdB | GBd g2 a | bag fge |1 ed^c def :|2 ed^c d2 e |: 
 faa faa | faa afd | gbb gbb | gbb bag | faa faa | faa aga | bag fge |1 ed^c d2 e :|2 ed^c def |]  