Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
Q:1/8=300
M:6/8
K:none
['', 'd2 f c2 e dfd Aef gag', 'g3- gag fzg fzf']  
X:1
L:1/8
Q:1/8=300
M:6/8
K:none
[K:D]|: (3(A/B/c/) | d2 f c2 e | dfd Aef | gag fdf | efe a3 | d2 f c2 e | dfd Aef | gag fdf | 
 eaf d2 :: f | g3- gag | fzg fzf | efe aba | faf dBA | g3- gag | fzg fzf | eaf gec | dfA d2 :|  