You gave an expression, NOT an equation. Every equation contains an equal sign.
If you mean: √(8-y) - y = -2, then √(8-y) = y - 2
So, 8 - y = y2 - 4y + 4
y2 - 3y - 4 = 0
(y - 4)(y + 1) = 0
y = 4 or -1
Checking these values in the ORIGINAL equation, we see that 4 works, but -1 doesn't.
So, the only solution is 4.