Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
Q:1/4=180
M:3/4
K:D
['af df Ad FA DFAdcB Acegfe', 'A2 af df', 'A2 z']  
X:1
L:1/8
Q:1/4=180
M:3/4
K:D
 af | df Ad FA | DFAdcB | Acegfe | df A2 af | df Ad FA | DFAdcB | Acegfe | d2 z2 :: ed | ce A2 af | 
 df A2 ed | ce A2 af | df A2 af | df Ad FA | DFAdcB | Acegfe | d2 z2 ::[K:G] (3(GFG) | A2 z GFG | 
 A2 z d^cd | e3 a^ga | f2 d2 FG | A2 z GFG | A2 z d^cd | e3 age | d2 z2 :|  