Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:G
['ge dBcA BAGB', 'g2 fg'  
X:1
L:1/8
M:4/4
K:G
|: ge | dBcA BAGB | dBcA B z ge | dBcA BAGB | AGFA G z :: ef | g2 fg afdf | g2 fg a z ga | 
 b2 ag .f2 .d2 | edef g z :|  