Finding decreasing interval given the function