Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
['AFA ded BcB GFG EFE ede cBc', 'd3 A2 A d2 d BAc B2']  
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
"^A" AFA ded | BcB GFG | EFE ede | cBc ABA | FGF dcd | BcB e2 d | cec ABc | d3 d3 || 
"^B" A2 A d2 d | BAc B2 G | EGG e2 e | cec cBA | ABA dcd | BcB e2 d | cec ABc | d3 d3 ||  