(1)x(24-2x)=40
-2x2+24x=40
2x2-24x+40=0,
x2-12x+20=0,
(x-2)(x-10)=0,
解得x1=2,x2=10,
∵2≤x≤8,
∴x=2;
(2)y=24-2x,
∵2≤x≤8,
∴8≤y≤20.
(1)x(24-2x)=40
-2x2+24x=40
2x2-24x+40=0,
x2-12x+20=0,
(x-2)(x-10)=0,
解得x1=2,x2=10,
∵2≤x≤8,
∴x=2;
(2)y=24-2x,
∵2≤x≤8,
∴8≤y≤20.