Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['DE G3 B A2 Ac dged cAAc', 'dggf g2 fg abag'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
 DE | G3 B A2 Ac | dged cAAc | BdBG (3ABc AF | GBAG FDEF | GFGB A2 (3ABc | dged cAAg | fefa ecAc | 
 BGAF G2 :| Bc | dggf g2 fg | abag fddc | BcBG (3ABc AF | GBAG FD D2 | dggf g2 fg | abag fdde | 
 fefa ecAc | BGAF G2 :|  