How do you evaluate f(x)=5x^4-8x^3+7x^2 at x=1 using direct substitution and synthetic division?