Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
Q:1/8=120
M:2/4
K:G
['GA/G/ ED GB dB/d/', 'ed BG'  
X:1
L:1/8
Q:1/8=120
M:2/4
K:G
 D | GA/G/ ED | GB dB/d/ | eB dG | A/B/A/G/ ED | GA/G/ ED | GB dB/d/ | ed BA | G2 G :| B | 
 d2 dB/d/ | ed BG | c2 cB/c/ | ed BG | d2 dB/d/ | ed BG | AG/A/ BA | G2 G :|  