Find a cubic function f(x) (a cubic function is a polynomial of degree 3) that has the inflection point (0, 0) and the critical number 1, with =f(1)=2024.

A) f(x)=x³ −3x²+3x
B) f(x)=x³ −3x²+2024
C) f(x)=x³ −3x
D) f(x)=x³ −3x²+6x−2024