You can put this solution on YOUR website! You have not posted an equation.
An equation has an equal sign in it.
Maybe you mean:
y=x^2+6x+5
Factor x^2+6x+5 as (x+5)(x+1)
Of maybe you mean x^2+6x+5=0
Then x=-5 or x=-1.
---------
In math you have to be careful what you say.
Cheers,
Stan H.