Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['G2 BG', 'g2 bg'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 G2 BG AGBd | gedB AGEF | G2 BG AGAd | gedB AcBA | G2 BG AGBd | gedB dega | bgag egge | 
 dBAB G2 G2 :| g2 bg agba | gedB defa | g2 bg agea | gedB BA A2 | g2 bg agba | gedB dega | 
 bgag efge |1 dBAB G3 G :|2 dBAB GDEF ||  