Lag tí -.-'
`ĐK:2<=x<=6`
BP 2 vế ta có:
`x-2+6-x+2\sqrt{(x-2)(6-x)}=x^2-8x+24`
`<=>4+2\sqrt{(x-2)(6-x)}=x^2-8x+24`
`<=>2\sqrt{(x-2)(6-x)}=x^2-8x+20`
`<=>2sqrt{-x^2+8x-12}=x^2-8x+20`
`<=>-x^2+8x-20+2sqrt{-x^2+8x-12}=0`
`<=>-x^2+8x-12+2sqrt{-x^2+8x-12}-8=0`
Đặt `sqrt{-x^2+8x-12}=a(a>=0)`
`pt<=>a^2+2a-8=0`
`<=>a=2(tm),a=-4(l)`
`<=>-x^2+8x-12=4`
`<=>x^2-8x+16=0`
`<=>(x-4)^2=0<=>x=4(tmđk)`
Vậy `S={4}`