Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:6/8
K:D
['fdB A2 faf ded']  
X:1
L:1/8
M:6/8
K:D
|: F2 |"D" AFA Agf |"Em" ede"A7" fdB |"D" AFA"Bm" AdF |"Em" GFG"A7" E2 G |"D" AFA Agf | 
"Em" ede"A7" fdB |"D" A2 g"A7" faf |"D" ded d2 :: a |"D" afa afa |"Em" bgb"A7" bgb | 
"D" afa"B7" agf |"Em" gfg"A7" efg |"D" a2 z"F#m" f2 z |"Em" ede"A7" fdB |"D" A2 g"A7" faf | 
"D" ded d2 :|  