Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:A
['EAEC DB,B,C DFED CEAc ecBA', 'z e agaf agfe dcde fedc B^ABc'  
X:1
L:1/8
M:4/4
K:A
 E | A2 cA EAEC | DB,B,C DFED | CEAc ecBA | G/A/B E2 E2 FG | AEcA EAEC | DB,B,C DFED | CEAc ecBA | 
 E2 A2 A2 z || e | agaf agfe | dcde fedc | B^ABc dcBA | G/A/B E2 E2 FG | AEcA EAEC | DB,B,C DEFG | 
 ABcd edBG | E2 A2 A3 ||  