Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:6/8
K:G
['A BAB', 'G2 d gfe fdc BGG G2 g'  
X:1
L:1/8
M:6/8
K:G
 A/G/ | FDD FEF | DGG G2 A | BAB GBd | cAG F2 A | BAB Bcd | cBc ABc | d/e/fd cAF | AGG G2 :: d | 
 gfe fdc | BGG G2 g | fef d/e/fd | cAG F2 c | BAB Bcd | cBc ABc | d/e/fd cAF | AGG G2 :|  