Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=80
M:6/8
K:none
['e2 A'  
X:1
L:1/8
Q:1/8=80
M:6/8
K:none
{g} e{A}ec{gef} e2 A |{g} e{A}ec{gef} e2 A |{g} f{e}fd{gef} e2 c |{Gdc} d2 c{gBd} B2{G} A |1 
{g} e{A}ec{gef} e2 A |{g} e{A}ec{gef} e2 a :|2{gef} e2 c{gef} e2 A |{gef} e2 c{gef} e2 a | 
{fg} f2 ae>ad |{g} c>ac{gBd} B2{G} A |{gcd} c2{e} A{Gdc} d2 B |{gef} e3{A} e>dc |{g} B>gd{g}B>GB | 
{g} d>gd{g}B>GB |{g} A>BA{g}A>BA |{g} A>BA{g}A>BA ::{g} f{e}fd{ag} a2 d |{g} f{e}fd{ag} a2 d | 
{gef} e2 a{ef} e2 c |{gef} e2 a{ef} e2 g |{fg} f2 a{g} a2 e |{g} d>gd{g}B>cd |{g} c>eA{g}d>ef | 
{gef} e3{A} e>dc |{g} B>gd{g}B>GB |{g} d>gd{g}B>GB |{g} A>BA{g}A>BA |{g} A>BA{g}A>BA :: 
{gef} e2 c{gef} e2 A |{gef} e2 c{gef} e2 A |{gfg} f2 d{gef} e2 c |{Gdc} d2 c{gBd} B2{G} A | 
{gef} e2 c{gef} e2 A |{g} e{A}ec{gef} e2 a |{fg} f2 ae>ad |{g} c>ac{gBd} B2{G} A | 
{gcd} c2{e} A{Gdc} d2 B |{gef} e3{A} e>dc |{g} B>gd{g}B>GB |{g} d>gd{g}B>GB |{g} A>BA{g}A>BA | 
{g} A>BA{g}A>BA ::{gfg} f2 d{ag} a2 d |{gfg} f2 d{ag} a2 d |{gef} e2 a{ef} e2 c | 
{gef} e2 a{ef} e2 g |{fg} f2 a{g} a2 e |{g} d>gd{g}B>cd |{g} c>eA{g}d>ef |{gef} e3{A} e>dc | 
{g} B>gd{g}B>GB |{g} d>gd{g}B>GB |{g} A>BA{g}A>BA |{g} A>BA{g}A>BA :|  