Find the value of the given polynomial when (a) x=0 and (b) x= -1

The given polynomial is:
[tex]x^2-2x-5[/tex]a) When x=0, the value of the polynomial is:
[tex]\begin{gathered} 0^2-2*0-5 \\ =-5 \end{gathered}[/tex]b) When x=-1, the value of the polynomial is:
[tex]\begin{gathered} (-1)^2-2(-1)-5 \\ =1+2-5 \\ =-2 \end{gathered}[/tex]