Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/8
M:2/2
K:G
['[Dd]2 B2 A2 d2 [B,B]2 B2 b2', 'f2 d2']  
X:1
L:1/8
M:2/2
K:G
 [Dd]2 B2 A2 d2 | [B,B]2 B2 b2 a2 | [Df]2 a2 baba | bafe [Df]2 d2 || [Dd]2 B2 A2 d2 | BABd b2 a2 | 
 [Df]2 (3aba (3fef (3aba | [Df]4 d4 | edef g2 B | dBde f2 d2 | edef gfga | b2 e2 e2 fg | 
 [Aa]2 g2 f2 e2 | d3 e f2 d2 | [Ee]2 B2 e2 A2 | G4 B4 | edef g2 B2 | dBde f2 d2 | edef gfga | 
 b2 e2 E2 fg | agfe defd | agfe [Df]2 d2 | [Ee]2 f2 afef | [Dd]4 B4 ||  