Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/16
M:2/4
K:G
['G2B2 A2BA G2g2 efge', 'B2d2 g2-gA B2d2'  
X:1
L:1/16
M:2/4
K:G
 D | G2B2 A2BA | G2g2 efge | d2B2 A2GA | B2-BA GFED | G2B2 A2BA | G2g2 efge | d2B2A2GA | 
 B2G2 G2-G :| A | B2d2 g2-gA | B2d2 g2-gA | B2d2 g2e2 | f2-fg f2g2 | a2g2 efge | d2B2 A2GA | 
 B2e2 dBAB | G4{B} G2-G :|  