Givena^2+4a-77Find the factor using FOIL multiplication or is this trinomial is prime?

Answer :

[tex]\begin{gathered} a^2+4a-77 \\ a^2+11a-7a-77 \\ a(a+11)-7(a+11) \\ (a-7)(a+11) \end{gathered}[/tex]

I have been able to factor the trinomial and the final result is

(a - 7 ) ( a + 11 )