Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:2/2
K:G
['gfga bgeg'  
X:1
L:1/8
M:2/2
K:G
"Em" Beed"G" B^cdB |"D" ADFD ADFD |"Em" EDEF GFGA | Beef gfed | Beed"G" B^cdB |"D" ADFD ADFD | 
"Em" EDEF GFGA |1 Beed e3 d :|2 Beed e3 f |:"Em" gfga bgeg |"D" fefg afdf |"Em" gfga bgeg | 
"D" fedf"Em" e2 ef | gfga bgeg |"D" fefg afdf |"Em" g2 bg"D" f2 af |"Em" edef gfef :|  