Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:7/8
K:G
['G2 AG', 'd2 Gd AGA B2 Bd cA BG'  
X:1
L:1/8
M:7/8
K:G
 G2 AG Bdg | e2 ge dBA | G2 AG dcB | ec e/f/g fdB | G2 AG Bdg | e2 ge dcB | cA BG ABc | dB cB AGF | 
 G2 AG Bdg | e2 ge dBA | G2 AG dcB | ec e/f/g fdB | G2 AG Bdg | e2 ge dcB | cA BG ABc | 
 BG AF GBd || e2 g d2 Gd | AGA B2 Bd | cA BG dcB | ec e/f/g fdB | e2 g d2 Gd | AGA B2 Bd | 
 cA BG ABc | BG AF GBd | e2 g d2 Gd | AGA B2 Bd | cA BG dcB | ec e/f/g fdB | c2 e d2 Gd | 
 AGA B2 Bd | cA BG ABc | BG AF GBA ||  