Solve the following integral equation for $f(x)$: $$\int_0^x f(t)\,dt = 3f(x)+k\,,$$ where $k$ is a constant.