first one:
Let's simplify the expression step by step:
4(a+5) - 5(a^2-4a+7)
= 4a + 20 - 5a^2 + 20a - 35 (distributing the 4 and -5)
= -5a^2 + 24a - 15 (combining like terms 4a and 20a, and combining 20 and -35)
So the simplified expression is -5a^2 + 24a - 15.
second one:
3(c-4) - 5(c^2+4c-8)
= 3c - 12 - 5c^2 - 20c + 40 (distributing the 3 and -5)
= -5c^2 - 17c + 28 (combining like terms 3c and -20c, and combining -12 and 40)
So the simplified expression is -5c^2 - 17c + 28.