Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
Q:1/2=116
M:2/2
K:A
['', '(v[eA]agf ec)(ec) ([eA]f)(ga gf .[eA]2)', '(u[BE]2 [cE]2)', '[cE]2) ([AE][cE]'  
X:1
L:1/8
Q:1/2=116
M:2/2
K:A
"^A" |: (v[eA]agf ec)(ec) | ([eA]f)(ga gf .[eA]2) | (v[eA]agf ed)(cA | c2) ([BE]c B2) [BE]2 | 
 (v[eA]agf ec)(ec) | ([eA]f)(ga gf .[eA]2) | ([eA]agf ed)(cA |1 uc2) ([BE]c A2) .u[AE]2 :|2 
[M:3/2] uc2 ([BE]c A2) .[AE]2 [EA,]3 (u[AE] ||"^B" |: 
[M:2/2] u[cE]2) ([AE][cE] [BE][AE])([GA,][AE] | [BE][AE])([cE]A [BE]2) (u[BE]2 | 
 [cE]2) ([AE][cE] [BE][AE])([GA,][AE] | [BE]A)([cE][BE] [AE]2) (u[AE]2 | 
 [cE]2) ([AE][cE] [BE][AE])([GA,][AE] | [BE][AE])([cE]A [BE]2) (u[BE]2 | 
 [cE]2) ([AE][cE] [BE][AE])(u[GA,][AE] |1 [BE][AE])([cE]B [AE]3) ([AE] :|2 
 [BE][AE])(v[cE][BE] [AE]2) u[EA,] |]  