(x^2 -5)+ (4x^2 -3)

5x^2-4x-15-20x
5x^2-24x-15

nope

(x^2 -5)+ (4x^2 -3)
= x^2 - 5 + 4x^2 - 3
= 5x^2 - 8

I have no idea what you did.

because i used foil for the polynomials

To simplify the expression (x^2 - 5) + (4x^2 - 3), you need to combine like terms.

Step 1: Distribute the parentheses if necessary. In this case, the second set of parentheses is already fully distributed, but the first set needs to be simplified.

(x^2 - 5) + (4x^2 - 3)
= x^2 - 5 + 4x^2 - 3

Step 2: Combine the like terms.

x^2 + 4x^2 - 5 - 3
= 5x^2 - 8

So, the simplified expression is 5x^2 - 8.