The random variable $X$ has pdf $f(x) = 3x^2$ when $0<x<1$ and $0$ otherwise. A sample size $n = 6$ is to be taken. Determine the density of $X_{(4)}$, the fourth order statistic.
I tried$$\int \frac{6!}{2!3!} f(x)F(x)^4(1-F(x))^2$$ where $F(x)$ is the integral of $f(x)$ from $0$ to $x$, but was marked wrong
You're almost right. There was no need to take the integral. The general formula for the density of the $k$th order statistic of $n$ iid random variables with PDF $f$ and CDF $F$ is $$f_{(k)}(x) = \frac{n!}{(k-1)!(n-k)!} f(x) [F(x)]^{k-1}[1-F(x)]^{n-k}$$ for $-\infty< x<\infty$. You can find the proof in any standard textbook.
You were given that the common density is $$ f(x) = 3x^2$$ when $0<x<1$. For $0<x<1$, we have $$F(x) = \int_0^x f(t)\,dt = \int_0^x3t^2\,dt = x^3.$$
Now you just plug into the formula for $f_{(k)}(x)$.