Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/16
M:4/4
K:G
['BcdB G2A2 BcdB', 'g2(fg) agfe'  
X:1
L:1/16
M:4/4
K:G
 B2AB c2BA G2B,2 D4 | B2AB c2Bc d4 A4 | B2AB c2B2 A2G2 F2ee | e2d2 c2F2 A4 G4 | 
 BcdB G2A2 BcdB G2B2 | B2AB cBAG FGAB A4 | BcdB G2A2 BcdB G2ee | e2d2 c2F2 A4 G4 :: 
 g2(fg) agfe dcBA G4 | g2(fg) agfe e2d2 d4 | g2(fg) agfe dcBA G4 | (Bd)(BG) (Ac)(AF) A2G2 G4 :|  