Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:6/8
K:G
['', 'B d2', 'ABc B3 B3 :|2 ded cBA G3'  
X:1
L:1/8
M:6/8
K:G
 DEF |: G2 G GAG | B2 d b2 f | a2 g g2 B | d2 c c3 | AGA AGA | A2 c a2 f |1 fed cAc | B3 B2 F :|2 
 fed cBA | G3 G2 B || d2 d ABc | B2 A G3 |1 d2 d ABc | B3 B3 :|2 ded cBA | G3 G3 ||  