a)
[tex]3(x^{2}-2x+3)-2(x^{2}-5x-1)=3x^{2}-6x+9-2x^{2}+10x+2=x^{2}+4x+11[/tex]
dla x=2
[tex]x^{2}+4x+11=4+8+11=23[/tex]
b)
[tex]a(2ab+b)-b(a-2ab+a^{2})=2a^{2}b+ab-ab+2ab^{2} -a^{2} b=a^{2}b +2ab^{2}[/tex]
dla a=0.1 i b=-10
[tex]a^{2}b+2ab^{2}=0.01*(-10)+0.2*100=-0.1+20=19.9[/tex]