Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:3/4
K:A
['a2 e/f/e/d/', 'd>f ed'  
X:1
L:1/8
M:3/4
K:A
 e | a2 e/f/e/d/ c>e | a2 ag/a/ b>g | a2 e/f/e/d/ c>A | B2 B3 e | a2 e/f/e/d/ c>e | a2 ag/a/ b>g | 
 a2 e/f/e/d/ c>A |1 B<G A4 e :|2 B<G A4 c |]: d>f ed c>A | BA/G/ A2 B>c | d>f ed c>A | B2 B3 c | 
 d>f ed c>A | BA/G/ A2 B>c | d>f ed c>e | a2 ag/a/ b>g | a2 e/f/e/d/ c>A |1 BA/G/ A3 c :|2 
 BA/G/ A4 |]  