Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:2/4
K:D
['', 'ddff aaff ee', 'A(B/c/) e2 (cA) f2 d(d/f/) aa A(B/c/)', 'B (c/B/A/G/F/G/) |1 G2 (B/c/) :|2 G2']  
X:1
L:1/8
M:2/4
K:D
 (AB/c/) |: ddff | aaff | ee (AB/c/) | df (d/A/B/c/) | ddff | aaff | ee AB/c/ |1 ddd (B/c/) :|2 
 ddd (c/d/) |]: e2 (cA) | g(g/e/) f(f/d/) | ea A(B/c/) | e2 (cA) | f2 d(d/f/) | aa A(B/c/) |1 
 dfd (c/d/) :|2 dfd (B/c/) |]:[M:3/8] ddg | d2 B | c(c/B/c/d/) | BG (B/c/) | d(dg) | d2 B | 
 (c/B/A/G/F/G/) |1 G2 (B/c/) :|2 G2 z |]  