Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/4
K:G
['f>e fd g>f ge'  
X:1
L:1/8
M:2/4
K:G
 A |"D" d^c/d/ ed |"C" cA A2 |"D" d^c/d/ ef |"A" g2 fe |"D" d^c/d/ ed |"C" cA Ag |"D" f/g/a"A" ge | 
"D" d2 d :: e |"D" f>e fd |"G" g>f ge |"D" f>e fa |"C" ge ce |"D" f>e fd |"G" g>f ge | 
"D" f/g/a"A" ge |"D" d2 d :|  