Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:6/8
K:G
['G3 BdB', 'D3 a3 afd B3 Bc |2 d'  
X:1
L:1/8
M:6/8
K:G
 G3 BdB | cAG FED | G3 BdB | A3 D3 | G3 BdB | def gab | afd gec | d3 D3 :: a3 afd | B3 Bc |2 d | 
 e3 ecA | F3 F2 G | ADA B2 c | def g2 c | BdB cAF | G3 G,3 :|  