Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/4
M:4/4
K:D
['d A', 'f/g/ a f']  
X:1
L:1/4
M:4/4
K:D
 B/c/ | d A F A | d A A B/c/ | d A F A | B E E B/c/ | d A F A | B g f e | d/c/B/A/ B/c/d/e/ | 
 f d d :: f/g/ | a f g e | f d d f/g/ | a f g/f/g/a/ | b e e f/g/ | a f g e | f d e3/2 d/ | 
 c A B/c/d/e/ | f d d :|  