Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/16
Q:1/4=120
M:3/4
K:G
['G2GA B2d2 ecBA', 'Bdef g4 f2e^d'  
X:1
L:1/16
Q:1/4=120
M:3/4
K:G
"^Animated" DE/F/ G2GA | B2d2 ecBA G2GA | B2>G2 E2DE G2GA | B2d2 ecBA G2G2 | G6 :| GA Bdef | 
 g4 f2e^d egfg | e2>d2 B2A2 Bdef | g4 f2e^d egfd | e6 f2 g2(3efe2 | d2>e2 B2A2 G2GA | 
 B2>G2 E2DE G2GA | B2d2 ecBA G2G2 | G4 ||  