maximize y = x(x-10)(x-8) from 0 to 10