Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=128
M:4/4
K:A
['ae ed/c/ A/B/c/d/ ec']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:A
|: c/B/ | A<E E>D C<E A,>c | B<F B>A G<B B>c | A<E E>A F<A D>f | ec B/c/d/e/ cA Ac/B/ | 
 A<E E>D C<E A,>c | B<F B>A G<B B>c | A<E E>A F<A D>f | ec B/c/d/e/ cA Af/g/ | 
 ae ed/c/ A/B/c/d/ ec | d<f c<e fB Bf/g/ | ae ed/c/ A/B/c/d/ ec | fd Bc/d/ cA Af/g/ | 
 ae ed/c/ A/B/c/d/ ec | d<f c<e fB Bc/B/ | A<E c<A ec ae | fd B/c/d/e/ cA A :|  