Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
Q:1/8=288
M:2/2
K:G
['B>c d>g (3gfe d>Be>d B>Gd>B A2 A>G', 'e>f (3gfe f>d']  
X:1
L:1/8
Q:1/8=288
M:2/2
K:G
 B>c | d>g (3gfe d>Be>d | B>Gd>B A2 A>G | F>GA>B c>de>f | (3gba (3gfe d2 B>c | d>g (3gfe d>Be>d | 
 B>Gd>B A2 A>G | F>GA>B c>de>f | g2 (3agf g2 :: (3def | g>ba>g f>ag>f | e>f (3gfe f>d B2 | 
 Tg2 b>g f2 a>f | e>f (3gfe f>d B>d | c/c/c A>c B/B/B G>B | A/A/A F>A E>A D2 | D>EF>G A>Bc>A | 
 (3GBd (3gdB G2 :|  