Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:6/8
K:G
['DGB d^cd edB cAF GB/c/d g2 a', 'cAF g2 f gfg d2 G GFG'  
X:1
L:1/8
M:6/8
K:G
|: DGB d^cd | edB cAF | GB/c/d g2 a | bag f/g/af | geg fdf | e2 c gfe | f^ef agf | g2 B cAF :: 
 g2 f gfg | d2 G GFG | =f2 e fef | agf daf | g2 a bag | f/g/af gdB | cAG FGA | AGF G3 :|  