Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/4
K:G
['gg [Bg]>g ed BG', 'GE/G/ DB, DE G>E'  
X:1
L:1/8
M:2/4
K:G
 e/f/ |"G" gg [Bg]>g | ed BG | Bd dB | d[Dd]/[Dd]/ de/f/ | gg [Bg]>g | ed BG | Bd"D7" d/B/A/B/ | 
"G" G[GB]/G/B/ [GB] :: B/A/ | GE/G/ DB, | DE G>E | DE GA | B[DB]/[DB]/ [DB]B/A/ | GE/G/ DB, | 
 DE G>E | GG/D/"D7" E/D/B,/A,/ |"G" G,[G,D]/[G,D]/ [G,D] :|  