I would like to prove:
Suppose $X\subset\mathbb{R}^m$ and $Y\subset\mathbb{R}^n$ are measurable sets, and $1\leq p\leq \infty.$ Show that if $f(x,y):X\times Y \to \mathbb{R}$ is measurable and nonnegative, then $$\left\|\int_Y f(x,y)dy\right\|_{L^P(X)}\leq \int_Y\|f(x,y)\|_{L^P(X)}dy$$
I would greatly appreciate a hint to prove this result. I tried to use the theorem that if $$\sup\left\{\int_E fg:g\in L^q(E),\|g\|_L^q(E)\leq1\right\} \leq M <\infty,$$ then $f\in L^P(E)$ and $\|f\|_{L^P(E)}\leq M.$ But I can't see how to proceed from here.