$$\color{Cyan} f(x) = -\sin\left(-\frac{x}{2}-\frac{\pi}{4}\right) $$