How do you determine the concavity of y=2cosx+sin2x?