Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:6/8
K:G
['edc B2 A GBG', 'edc B2'  
X:1
L:1/8
M:6/8
K:G
 g | edc B2 A | GBG E2 F | GDG BGB | d3 efg | edc B2 A | GBG EFG | AFD E2 F | G3 G2 :: c | 
 B2 g f2 g | edc B2 d | efg fed | e2 f gfg | edc B2 A | GBG EFG | AFD E2 F | G3 G2 :|  