Construct a melodic piece using the designated alphabetic pattern and the provided musical theme.
X:1
L:1/4
M:5/4
K:G
['D G', 'A A']  
X:1
L:1/4
M:5/4
K:G
 D | G E D G G | A A A B B/c/ |[M:6/4] d e c/B/ A d2 |[M:5/4] G F G2 :| B |[M:6/4] c d e2 c3/2 A/ | 
[M:4/4] B/c/ d2 d | c2 B A |[M:5/4] G G B/c/ d G | A A D2 D | G E D G G | A A A B (B/c/) | 
[M:6/4] d d c2 B3/2 G/ | A A G3 |]  