Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
Q:1/8=80
M:4/4
K:none
['d2{e} Ad', 'f2{g} fe{g} e2{Gdc} d>e', 'Ae e<d{gdG}d>e{gef} f3 A ||{GAG} A<f{g}fe{g} e2{Gdc}'  
X:1
L:1/8
Q:1/8=80
M:4/4
K:none
 A |{g} f2{gfg} fa{Gdc} d2{e} Ad |{g} d/{e}A3/2{g}c>d{gef} e3 A |{g} e2{A} e>f{gf}g>e{gcd}c{e}A | 
{g} A<d{gdG}d>e{gfg} f3{g} A ||{g} f2{gfg} fa{Gdc} d2{e} Ad |{g} d/{e}A3/2{g}c>d{gef} e3{GAG} A | 
{ag} a>gfa{f}g>e{gcd}cA |{GAG} A<g{a}f3/2e{Gdc} d3 A |]{GAG} A2{gBd} B{e}A{Gdc} d2{e} Ad | 
{g} d/{e}A3/2{g}c>d{gef} e3 A |{GAG} A2{gBd} B{e}A{gef} e2{AGAG} Ae |{g} e<d{gdG}d>e{gef} f3 A || 
{GAG} A2{gBd} B{e}A{gfg} f2{Gdc} d3/2e |{g} fd{g}f<a{f} g3{a} f/>g/ |{ag} a>gfa{f}g>e{gcd}c{e}A | 
{GAG} A<g{a}f3/2e{Gdc} d3 A |]{GdG} f2{g} fe{g} e2{Gdc} d>e |{gde} dc{GdG}c>d{gef} e3 A | 
{gf} g2{f} g>f{g}fe{A}e>d |{gcd} c{e}A{Gdc}d>e{gef} f3 A ||{GdG} f2{g} fe{g} e2{Gdc} d>e | 
{gde} dc{GdG}c>d{gef} e3{AGAG} A |{ag} a>gfa{f}g>e{gcd}c{e}A |{GAG} A<g{a}f3/2e{Gdc} d3 A |] 
{GAG} A2{Gdc} d>e{Gdc} d2{g} Ad |{gde} d<c{GdG}c>d{gef} e3 A |{GAG} A2{g} e>f{gef} e2{AGAG} Ae | 
{g} e<d{gdG}d>e{gef} f3 A ||{GAG} A<f{g}fe{g} e2{Gdc} d3/2e |{g} fd{g}f<a{f} g3{a} f/>g/ | 
{ag} a>gfa{f}g>e{gcd}c{e}A |{GAG} A<g{a}f3/2e{Gdc} d3 |]  