Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/16
M:2/4
K:G
['A2AB A2AB', 'A2AB A2AB', 'A2AB A2AB', 'gfed Bdge dcBA', 'A2AB c2B2']  
X:1
L:1/16
M:2/4
K:G
 D2 | G2GA G2GA | G2AB cBAG | A2AB A2AB | A2AB cBAG | B2BA B2BA | Bdgf edcB | A2AB A2AB | 
 ABcA GFED || G2GA G2GA | G2AB cBAG | A2AB A2AB | A2AB cBAG | BABc dedc | BABc dedc | 
 (3Bcd BG (3ABc AF | G2GG G2 :| (Bc) | d2dB d2dB |"^tr" ed cB | c2cA c2cA |"^tr" dc BA | 
 B2BA B2BA | Bdgf edcB | A2AB A2AB | ABcA GFED | G2GA G2GA | G2AB cBAG | A2AB A2AB | A2AB cBAG | 
 BABc dedc | BABc dedc | (3Bcd BG (3ABc AF | G2GG G2 |: (Bc) | d2ef gfed | Bdge dcBA | G2G2 A2A2 | 
 B2B2 A2(Bc) | d2ef gfed | Bdge dcBA | G2Ac BGAF | G2GG G2 :: (3BAG | F2FG A2AB | c2B2 A2G2 | 
 F2FG A2AB | c2B2 A2Bc | d2ef gfed | Bdge dcBA | G2Ac BGAF | G2GG G2 :|  