Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
Q:1/4=116
M:4/4
K:A
['ed c2'  
X:1
L:1/8
Q:1/4=116
M:4/4
K:A
|: ed |"A" c2 A2 A2 Bc |"E7" d2 B2 B2 ed |"A" c2 A2 A2 Bc |"G" d=cBA =G2 ed |"A" c2 A2 A2 Bc | 
"E7" d2 B2 B2 ed |"A" c2 Ac"G" B2 =GB |"A" A6 :: ed |"A" c2 e2 e2 =g2 |"G" dB=GB d2 ed | 
"A" c2 e2 e2 fg |"A" agfe"E7" a2 ed |"A" c2 e2 e2 =g2 |"G" dB=GB d2 ed |"A" c2 Ac"G" B2 =GB | 
"A" A6 :|  