Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:4/4
K:G
['d B>AGg (e/f/g/).e/{e} d{c}B ce (e/d/)(c/B/) cA', 'BG e/d/c/B/']  
X:1
L:1/8
M:4/4
K:G
 d | B>AGg (e/f/g/).e/{e} d{c}B | ce (e/d/)(c/B/) cA Ad | B>AGg (e/f/g/)e/{e} d(c/B/) | 
 c>e (d/e/d/c/) BG G :: d |"^tr" (B>AG)B cdec | BG e/d/c/B/ cAAd | B>AGB cdef | 
 g/f/e/d/ gB G/G/G Gd | BGdG eGdG | BG e/d/c/B/ cAAf | gefd ecdB | ce (d/e/d/)c/ BG G |]  