Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
Q:3/8=110
M:6/8
K:G
['g2 d d^cd B2 G GFG', 'G GFG'  
X:1
L:1/8
Q:3/8=110
M:6/8
K:G
 d | g2 d d^cd | B2 G GFG | A2 A ABc | dBG G2 (3(d/e/f/) | g2 d d^cd | B2 G GFG | .A(ed) (cB).A | 
 G3 G2 :: B | A2 D DEF | G2 G GFG | A2 A ABc | (ed).d d2 d | g2 d (d^cd) | B2 G GFG | .A(ed) cBA | 
 G3 G2 :|  