Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:Amix
['gG B/c/d/B/{B}'  
X:1
L:1/8
M:4/4
K:Amix
{f} e2 d/c/B/A/ ce a2 |{f} Tg2 d/f/g/d/{d} B(G G).f |{f} e2 d/c/B/A/ ce a>f |1 
{f} gG B/c/d/B/{B} e(AA) z :|2{f} gG B/c/d/B/{B} e(AA) e |: a2 g/f/e/d/ eA a2 | 
{f} g2 e/f/g/d/ B(GG)g | a2 g/f/e/d/ .e.A a>f |1{f} gG B/c/d/B/{B} e(AA)e :|2 
{f} gG B/c/d/B/{B} e(AA) z ||  