Y=3(x+5)(x-2) how can u solve

For each x you choose, there is a different Y that you can compute with that formula. There is nothing to "solve".

If x = 2, for example, Y = 0