Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:2/4
K:G
['EA/B/ cB/A/ eA/B/ cB/A/ EG/G/ Gg EG/A/', 'ea ea'  
X:1
L:1/8
M:2/4
K:G
 EA/B/ cB/A/ | eA/B/ cB/A/ | EG/G/ Gg | EG/A/ BG | Ec Bd | ce df | ea e/d/c/B/ | cA/A/ Ae :: 
 ea ea | B/G/B/d/ e2 | Bg Bg | e/d/e/f/ g2 | ea ea | ge/g/ fd | Bg e/d/c/B/ | cA/A/ A2 :|  