三角形高是4 矩形高是H DE算做顶边
△ADE∽△ABC 4-H:X =4:10
H =4-0.4X
Y = HX = -0.4X^2+4X = -0.4(X-5)^2 +10
X =5 时 Y最大是10