Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
Q:1/4=160
M:3/4
K:A
['((c{dc)}B) AG A2 (5:2:5(g/a/)g/(f/g/) a2 A2 (c{dc)}B', 'd4 |{fg}'  
X:1
L:1/8
Q:1/4=160
M:3/4
K:A
 vA2 ((c{dc)}B) AG | A2 (5:2:5(g/a/)g/(f/g/) a2 | A2 (c{dc)}B AG | Bc AG E2- | Ec ((c{dc)}B) AG | 
 A2 (5:2:5(g/a/)g/(f/g/) a2 | A2 (c{dc)}B AG | BA [AA,]4 ::[K:Amin]{vcd} ce (e<g) ge | 
 (f3/2{gf)}(3(e/f/g/) a2- !>!a2 | g2 bz/(a/ g{ag)}(e | f{gf}d) [ee]4 |{ga} g>f d4 |{fg} f>e c4 | 
{ga} gf d4 |{fg} fe c4 |{cd} cB/c/ d2 (c3/2{dc)}B | GB{AB} [AA]4 :|  