Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:4/4
K:G
['D2 GFGA (3Bcd cB ABAG', 'G2 d^cde'  
X:1
L:1/8
M:4/4
K:G
 G2 GA BdcB | ABAG FE D2 | GFGA (3Bcd cB | ABAG F2 D2 | GFGA (3Bcd cB | ABAG FE D2 | DEDE Fedc |1 
 BGAF G2 (3DEF :|2 BGAF G2 (3def || g2 g2 e2 ge | dedc BA G2 | d^cde fgfe | ded^c d2 (3def | 
 g2 g2 e2 ge | dedc BA G2 | d^cde fgef |1 dcAF G2 (3def :|2 dcAF G4 ||  