Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:2/4
K:D
['[fd]2 [dA]2 [ec][fd] [ge]2']  
X:1
L:1/8
M:2/4
K:D
|:"D" [dA]2 [dA]2 |"A" [ec]3 [ec] |"D" [fd]2 [dA]2 |"A" [ec][fd] [ge]2 |"D" [fd]2 [dA]2 | 
"A" [ec][fd] [ge]2 |"D" [fd][ec] [fd][dA] |"A" [ec]3 [ge] |"D" [fd][ec] [fd][dA] |"A" [eA]3 z :|  