How do you find the concavity of a rational function?