can anybody explain how I can get the equation.

Step-by-step explanation:
If the polynomial is rational, then one of zeros is 3 + 2i.
We are also given f(x) is decreasing function, it means the leading coefficient is negative.
The factors would be:
or