Для a=-1/3:
(a-3)(a+4) = (-1/3-3)(-1/3+4) = (-10/3)*(11/3) = -110/9
(a+5)(a+1) = (-1/3+5)(-1/3+1) = (14/3)*(-2/3) = -28/9
Итак, (a-3)*(a+4)-(a+5)(a+1) = -110/9 - (-28/9) = -110/9 + 28/9 = -82/9
Ответ: -82/9 (или -9 1/9)
Для a=-1/3:
(a-3)(a+4) = (-1/3-3)(-1/3+4) = (-10/3)*(11/3) = -110/9
(a+5)(a+1) = (-1/3+5)(-1/3+1) = (14/3)*(-2/3) = -28/9
Итак, (a-3)*(a+4)-(a+5)(a+1) = -110/9 - (-28/9) = -110/9 + 28/9 = -82/9
Ответ: -82/9 (или -9 1/9)