Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/2
K:C
['[ee]2 [ee]2', 'b4 fgag'  
X:1
L:1/8
M:2/2
K:C
 eg-ga gecd | eage d2 c2 | [ee]2 [ee]2 [ee]2 [ee]2 | edcA GECD | B d2 B d3 B | dedc B G3 | 
 DEFG ABcd | ecdc A [Gc]3 | eg-ga gecd | eage [de]2 [ce]2 | eged cdcA | GcAG EDCD | B d2 B d3 B | 
 dedc B G3 | ABcd ecdc | g c2 d c2 dc || BABd g4 | BABd b4 | fgag fefa | egfg edcd | BABc/d/ g4 | 
 B>c d2 b4 | fgag fdfa |1 g4- g4 :|2 g3 a f4 ||  