How do you determine the intervals where f(x)=x^2-4x+7 is concave up or down?