Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/4
Q:1/4=180
M:4/4
K:D
['', 'A/G/ F A D', 'f3/2 e/ d f']  
X:1
L:1/4
Q:1/4=180
M:4/4
K:D
 A/G/ |: F A D A/G/ | F A D | d | c d e c | d/c/ d/e/ f A/G/ | F A D A/G/ | F A D d | c d e c |1 
 d3 A/G/ :|2 d A d e |: f3/2 e/ d f | g3/2 f/ e g | f3/2 e/ d f | e/d/ c/B/ A2 | f3/2 e/ d f | 
 g3/2 f/ e g | f d e c |1 d3 e :|  