Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:G
['BG G2', 'GABd eaab'  
X:1
L:1/8
M:4/4
K:G
|: B3 G ABGE | DGBG A3 c | BG G2 A2 ef | gedB eA A2 | B3 G ABGE | DGBG A3 c | BG G2 A2 ef |1 
 gedc BGGA :|2 gedc BG G2 |: dg g2 ageg | gedB GABd | eaab a2 ef | gabg afeg | dgbg ageg | 
 gedB GABd | eaab agef |1 gedc BG G2 :|2 gedc BGGA ||  