How do I solve this equation?

x+5 = sqrt(x+5)

1. Square both sides.

(x+5)^5=(x+5)
2. FOIL the left side.
x^2+10x+25=x+5
3. Subtract x and 5 from both sides.
x^2+9x+20=0
4. Factor.
(x+5)(x+4)=0
5. Solve using the zero product property.
x+5=0 x+4=0
x=-5 and x=-4