Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/2
K:Amix
['a2 fa ec A2', '(3cBA eA fAeA'  
X:1
L:1/8
M:2/2
K:Amix
 a2 fa ec A2 | cAeA fAeA | a2 fa ec A2 | Bcdc BGGB | a2 fa ec A2 | cdef g2 fg | (3agf ge fdec |1 
 Bcdc BG G2 :|2 Bcdc BGGB :: (3cBA eA fAeA | (3cBA af ecBA | (3cBA eA fAeA | Bcdc BGGB | 
 (3cBA eA fAeA | cdef g2 fg | (3agf ge fdec | Bcdc BGGB :|  