Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:6/8
K:G
['BGG DGG BGB dcB', 'gdg gdg'  
X:1
L:1/8
M:6/8
K:G
 d/c/ | BGG DGG | BGB dcB | cAA EAA | cBc edc | BGG DGG | BGB dcB | cBc Adc | BGG G2 :: f | 
 gdg gdg | gdg bag | fdf fdf | fdf agf | egg dgg | bgg dcB | cBc Adc | BGG G2 :|  