Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:4/4
K:G
['BGGB cAAc', '(3gfe dBdg eceg fdef g2 fe dB'  
X:1
L:1/8
M:4/4
K:G
 BGGB cAAc | BGGc Bdgd | BGGB cAAc |1 Bgd^c ded=c :|2 Bgd^c d3 e |: dBdg eceg | fdef ga (3gfe | 
 dBdg eceg | fdef g2 fe | dB B2 ec c2 | dBGB AFDd | edef ga (3gfe |1 dBcA G3 e :|2 dBcA G2 dc ||  