For the first equation:
(x+6)(x+5) = x^2 + 5x + 6x + 30= x^2 + 11x + 30
For the second equation:
(a-4)(a+1) = a^2 + a - 4a - 4= a^2 - 3a - 4
For the first equation:
(x+6)(x+5) = x^2 + 5x + 6x + 30
= x^2 + 11x + 30
For the second equation:
(a-4)(a+1) = a^2 + a - 4a - 4
= a^2 - 3a - 4