Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/4=90
M:4/4
K:A
['(3CEA (3DFA', 'a>Ag>A f>Ae>A', "e e'>Ac'>A a>Ac>A A/c/e/c/ A/c/e/c/ cBBd"  
X:1
L:1/8
Q:1/4=90
M:4/4
K:A
"^1st note dotted quaver in ms" c>B | A>A, (3CEA (3DFA (3CEA | (3DFA (3B,EA (3DBB cB | 
 AA, (3CEA (3DFA (3B,EA | (3DFA (3B,EA A>A, A, :: e | a>Ag>A f>Ae>A | d>B d/c/B/A/ G>BB>d | 
 a>Ag>A f>Ae>A | de/f/ ec A3 e | a>Ag>A f>Ae>A | d>B d/c/B/A/ G>BB>d | (3ABc (3Bcd (3cde (3def | 
 e>cB>e c>A A :: e | e'>Ac'>A a>Ac>A | A/c/e/c/ A/c/e/c/ cBBd | e'>Ac'>A a>Ae>A | de/f/ ec A3 e | 
 e'>Ac'>A a>Ac>A | A/c/e/c/ A/c/e/c/ cBBd | (3eac' (3ebd' (3ee'c' a>e | fg/a/ ec A2 :|  