Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
M:4/4
K:A
['', 'a2 (3gag edcB AcBA', 'e z'  
X:1
L:1/8
M:4/4
K:A
 e4 |: a2 (3gag edcB | AcBA c2 B2 | GBGB Bd{cd}cB | AcBA c z e2 | a2 (3gag edcB | AcBA cABA | 
 GABc defg |1 abag aze z :|2 abag a2 z2 || BzGB e z e2 | ggeg b3 b | bb (3aba fzd z | 
 c' z b2 ge e2 | BBGB e z e2 | ggeg b3 b | bb (3aba fzdd | edef e z A2 | BBGB e z e2 | ggeg b3 b | 
 bb (3aba fzd z | c' z b2 ge e2 | BBGB e z e2 | ggeg b3 b | bb (3aba fzdd | edef e z e2 ||  