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
['G3 (E2 A) FDd d2']  
X:1
L:1/8
M:6/8
K:G
 G3 (E2 A) | FDd d2 c | BGd BGd | BGd AFD | G3 (E2 A) | FDd d2 (e/f/ | g)fe dcB | AGF G2 z :|  