Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:4/4
K:G
['GABG ABcA defd dcBA', 'G2 (3(def) g2 eg f2 ed gage']  
X:1
L:1/8
M:4/4
K:G
 D2 | GABG ABcA | defd dcBA | BcBG ABAG | FGAB cAFD | GABG ABcA | defd dcBA | B2 d2 cAGF | 
 D(G{A}GF) G2 :| (3(def) | g2 eg f2 ed | gage f2 (ed) | defg abag | f2 dd (de)dc | B2 BG AF D2 | 
 BdBG ABcA | defd cAGF | D(G{A}GF) G2 :|  