(1) y=-3x^2-6x+5
y=-3(x+1)^2+8
顶点:(-1,8)
(2) w=(x-10)(40-x)
w=-x^2+50x-400=-(x-25)^2+225
顶点:(25,8225)