Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:4/4
K:C
['Addc A2 AG E2 cE DEFG', 'd2 fd adfd']  
X:1
L:1/8
M:4/4
K:C
[M:4/4][K:G] f e ae ae"^D modal" .F | Addc A2 AG | E2 cE DEFG | Addc ABcA | GEcE ED D2 | 
 Addc A2 AG | E2 cE DEFG | Adde fdcA | GEcE EDD :|[K:D]"^D major" A | d2 fd adfd | c2 ec gcec | 
 d2 fd adfd | eaag eddA | d2 fd adfd | c2 ec g2 fg | afge d2 cd | eaag edd :|  