Answer:
[tex](x-5)(x+1)(x-2)[/tex]
Step-by-step explanation:
well as a general case we have
when we say that
[tex]x=y[/tex] it gives zero moving the y to the other side we have
[tex]x-y=0[/tex]
so in our case
[tex]\longrightarrow x-5=0\\\\\rightarrow x-(-1)=0\\\\\longrightarrow x+1=0\\\\\longrightarrow x-2=0[/tex]
just multiply the ones that have [tex]\longrightarrow[/tex]
and get
[tex](x-5)(x+1)(x-2)=0[/tex]