[tex](x + 3) ^{2} + 2(1 - x) - 5 = \\ {x}^{2} + 2 \times x \times 3 + {3}^{2} + 2 - 2x - 5 = \\ {x}^{2} + 6x + 9 + 2 - 2x - 5 = \\ = {x}^{2} + 4x + 6[/tex]
E(x)=x^2+4x+6