Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
Q:1/8=350
M:12/8
K:G
['G2 B d^cd e2 f', 'B ABA']  
X:1
L:1/8
Q:1/8=350
M:12/8
K:G
 D | G2 B d^cd e2 f g2 g | f/g/fe d2 B cBA B2 A | G2 B d^cd e2 f gfe | d2 B ABA G3 G2 :| A | 
 BcB ABA G2 G GAB | c3 B2 G A2 G E2 D | B2 B ABA G/A/GG gfe | d2 B ABA G3 G2 :|  