Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:2/2
K:Amix
['a2 ^ga', '(3cBA eA fAeA'  
X:1
L:1/8
M:2/2
K:Amix
 a2 ^ga eA(3AAA | (3cBA eA fAeA | a2 ^ga eA(3AAA | Bcdc BG (3GGG | a2 ^ga eA (3AAA | cdef g2 fg | 
 af (3gfe fded | Bcdc BG (3GGG :: (3cBA eA fAeA | (3cBA ea f2 ed | (3cBA eA fAeA | 
 BG (3GGG DG (3GGG | (3cBA eA fAeA | cdef g2 fg | af (3gfe fded | Bcdc BG (3GGG :|  