Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['cBAB cedc BGGA BcdB ecAF', 'b2 ag'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
"^Moderately Quick" G2 Bd (gd)Bd |{d} cBAB cedc | BGGA BcdB | ecAF GF{F}ED | G2 Bd gdBd | 
{d} cBAB cedc | BGGA BcdB | ecAF G2 :: ga | b2 ag b2 ag | egdg egdg | b2 ag b2 ag | egfa g2 (ga) | 
 b2 ag b2 ag | egdg egdg | (3bag (af) (ge) (fd) | cdef gecA :|  