1. Every programming language has its specific syntax. You cannot simply write mathematical expression, it is required to use some symbols called operators.
2. You have to assign value to x before you evaluate polynomial.