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
['', 'c3 B3 AGA BGE D (3EFG AGA', 'gdB GBd gdB ABA AGE GBd g3'  
X:1
L:1/8
M:6/8
K:G
 AB |: c3 B3 | AGA BGE | D (3EFG AGA | BdB A2 B | c3 B3 | AGA BGE | D (3EFG AGA |1 BGF GAB :|2 
 BGF G2 D |: GBd g (3ddd | ede gdB | GBd gdB | ABA AGE | GBd g3 | ede gdB | G2 B AGA | BGF G2 D :|  