Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
Q:1/4=120
M:2/4
K:G
['(3(Bcd) (3(dcB)', '(3(Bcd) g2 (3(fef) gd'  
X:1
L:1/8
Q:1/4=120
M:2/4
K:G
 c | (3(Bcd) (3(dcB) | (3(cde) (3(edc) | (3(Bcd) (3(dcB) | cAAc | (3(Bcd) (3(dcB) | 
 (3(cde) (3(edc) | BgAg | BG G :: c | (3(Bcd) g2 | (3(fef) gd | (3(Bcd) gd | aAAc | (3(Bcd) g2 | 
 (3(fef) gd | BgAg | BG G :|  