Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['G2 BG DGBG G2 Bd gdBA BGAG', 'gfga gdBd gfga'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 (3DEF | G2 BG DGBG | G2 Bd gdBA | BGAG FGAB | cDEF BGAF | G2 BG DGBG | G2 Bd gdBA | BGAG FGAB | 
 cGEF G2 :: ef | gfga gdBd | gfga bgef | gfga gdBc | dedc BGAF | gfga gdBd | gfga bgeg | 
 bgaf gfed | egfa g2 :|  