I am sure you meant

2/(y+2) + 3/y = -y/(y+2)

common denominator is y(y+2), so multiply each term by that

2y + 3(y+2) = -y^2

2y + 3y + 6 = -y^2

y^2 + 5y + 6 = 0

(y+2)(y+3) = 0

y = -2 or y = -3

but y cannot be -2 or else we are dividing by zero, so

x = -3