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
['B2 A GFG']  
X:1
L:1/8
M:6/8
K:G
 G | GAG B2 B | AGA G2 G | BcB d2 d | cBc B2 d | dcB dcB | dcB d2 d | edc cBc | d2 c B2 A | 
 GFG B2 A | GFG B2 A | GFG d2 c | BcA G2 |]  