[step:Identify the joint law of $(X,Y)$ from independence]
Let $\mu_{(X,Y)}$ denote the law of the random vector
\begin{align*}
(X,Y):(\Omega,\mathcal F)\to(\mathbb R^2,\mathcal B(\mathbb R^2)).
\end{align*}
Thus, for every $A\in\mathcal B(\mathbb R^2)$,
\begin{align*}
\mu_{(X,Y)}(A)=\mathbb P((X,Y)\in A).
\end{align*}
Let $\mathcal L^2$ denote two-dimensional Lebesgue measure on $\mathbb R^2$.
Define the measure $\nu$ on $(\mathbb R^2,\mathcal B(\mathbb R^2))$ by
\begin{align*}
\nu(A)=\int_A f_X(x)f_Y(y)\,d\mathcal L^2(x,y).
\end{align*}
The integrand $(x,y)\mapsto f_X(x)f_Y(y)$ is Lebesgue measurable and non-negative because $f_X$ and $f_Y$ are Lebesgue-measurable non-negative densities.
We show that $\mu_{(X,Y)}=\nu$. Let $A,C\in\mathcal B(\mathbb R)$. Since $X$ and $Y$ are independent, the events $\{X\in A\}$ and $\{Y\in C\}$ are independent, so
\begin{align*}
\mu_{(X,Y)}(A\times C)=\mathbb P(X\in A,Y\in C)=\mathbb P(X\in A)\mathbb P(Y\in C).
\end{align*}
Because $f_X$ and $f_Y$ are densities,
\begin{align*}
\mathbb P(X\in A)\mathbb P(Y\in C)=\left(\int_A f_X(x)\,d\mathcal L^1(x)\right)\left(\int_C f_Y(y)\,d\mathcal L^1(y)\right).
\end{align*}
By Tonelli's theorem for non-negative functions on the product [measure space](/page/Measure%20Space) $(\mathbb R,\mathcal B(\mathbb R),\mathcal L^1)\times(\mathbb R,\mathcal B(\mathbb R),\mathcal L^1)$,
\begin{align*}
\left(\int_A f_X(x)\,d\mathcal L^1(x)\right)\left(\int_C f_Y(y)\,d\mathcal L^1(y)\right)=\int_{A\times C} f_X(x)f_Y(y)\,d\mathcal L^2(x,y)=\nu(A\times C).
\end{align*}
Thus $\mu_{(X,Y)}$ and $\nu$ agree on all measurable rectangles $A\times C$. These rectangles form a $\pi$-system generating $\mathcal B(\mathbb R^2)$, and both $\mu_{(X,Y)}$ and $\nu$ are probability measures. Hence the uniqueness theorem for measures generated by a $\pi$-system gives $\mu_{(X,Y)}=\nu$ on $\mathcal B(\mathbb R^2)$.
[/step]