\frac{1}{3}\, -\, x^2\, \mbox{ and }\, \frac{1}{3}\cos(x) \frac{1}{3\, -\, x^3}\, \mbox{ and }\, \frac{1}{3\cos(x)}