Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/2
K:A
['a2 gf ecAc eBAG AECA, agaf ecAB/c/', 'A,2 ec-cd/e/ fd f2 dBBc/d/ ec e2'  
X:1
L:1/8
M:2/2
K:A
|: a2 gf ecAc | eBAG AECA, | agaf ecAB/c/ | dBAG A2 A,2 :: ec-cd/e/ fd f2 | dBBc/d/ ec e2 | 
 cAAB/c/ d/c/B/A/ Gf | edcB A2 A,2 :|  