`A=x^2(x-2)-(x-1)(x^2+x+1)`
`A=x^4-2x^2-x^3+1`
`A=-2x^2+1`
Thay `x=-5` vào `A` có: `A=-2.(-5)^2+1=-49`
~~~~~~~~~~~~~~~~~~
`B=(5x+5)^2+10(x-3).(1+x)+x^2-6x+9`
`B=25x^2+50x+25+10x+10x^2-30-30x+x^2-6x+9`
`B=36x^2+24x+4`
`B=(6x+2)^2`
Thay `x=1/2` vào `B` có: `B=(6. 1/2+2)^2=25`
A=x^2.(x-2)-(x-1).(x^2+x+1)
<=> A = x3 - 2x2 - (x3 - 1)
<=> A = x3 - 2x2 - x3 + 1
<=> A = 1 - 2x2(1)
Thay x = -5 vào (1)
=> A = 1 - 2.(-5)2
=> A = 1- 50
=> A = -49
B=(5x+5)^2+10(x-3).(1+x)+x^2-6x+9
<=> B = 25x2 + 50x + 25 + 10 (x +x2 - 3 - 3x) + x^2-6x+9
<=> B = 25x2 + 50x + 25 + 10x + 10x2 - 30 - 30x + x^2-6x+9
<=> B = 36x2 + 24x + 4
Thay x = 1/2 vào B ta được
B = 36. (1/2)2 + 24 . 1/2 + 4
B = 25