Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:3/4
K:A
['f>d e>g b>a', 'c2) (3(BcB) A2'  
X:1
L:1/8
M:3/4
K:A
 A>c e>c e>c | d>e f>d f>d | e>g b>a g>f | (3efg a>e c>e | A>c Pe>c e>c | d>e Pf>d f>d | 
 e>g b>a Pg>f | ef/g/ [Aa]4 ::{e} a>(c e>)(A c2) | (3(BcB) A2 Pf2 | dd (Bc/B/) GB | TB>A A>c e2 | 
 a>(c e>)(A c2) | (3(BcB) A2 Tf2 | d>d (Bc/B/) G>B | (TBA) A4 :|  