Let $f$ be a differentiable real valued function such that $f(3)=7$ and $f'(x) \geq x$ for all positive $x$. What is the maximum possible value of $$\int_{0}^{3}f(x)dx$$
The answer is 12.. so far what I have done is:
$$F(x)=\int_{0}^{x}f(x)dx = f'(x) - f'(0) \geq x - f'(0)$$
so to maximize $F(x)dx$ we take the derivative and set it equal to 0 :
$$\frac{d}{dx} \int_{0}^{x} f(x) dx = f(x) - f(0) = 0 $$
so $f(x) = f(0)$
I have no idea what to do next or if I'm even doing it correctly. Thanks in advance.

Integrating by parts, $$\begin{align} \int^3_0 f(x)dx &=x f(x)\big|^3_0-\int^3_0x f’(x)dx\\ &=21-\int^3_0 x\cdot f’(x)dx \\ &\le21-\int^3_0 x\cdot x~dx \end{align} $$
The inequality is valid because $x\ge 0$ and $f’(x)\ge 0$ for $x\in[0,3]$.