Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:G
['(3Bcd gd ^cdDF', '(3agf gdBg ecAG (3FGA d^c ded=c (3Bcd'  
X:1
L:1/8
M:4/4
K:G
|: G,B,DG BAG=F | ECCB, CEGc | (3Bcd gd ^cdDF | cBAG (3FED (3CB,A, | G,B,DG BAG=F | ECEG cdcA | 
 (3Bcd gd ^cdDF |1 AGBA GDB,A, :|2 AGGF GABc |: dgba gdBd | (3cBA ag fg (3agf | gdBg ecAG | 
 (3FGA d^c ded=c | (3Bcd BG cBcA | (3Bcd fa gfdc | (3Bcd gd ^cdDF |1 AGGF GABc :|2 AGBA G4 ||  