So I'm trying to solve this problem.
Random vector $(X,Y)$ has the joint density function given by $f(x,y)=6 x y^2$, when $0<x<1$, $0<y<1$, and zero otherwise.
What is $E(7Y)$? Answer with at least one decimal place.
I know that $$E[G(X,Y)]=\int\int{g(x,y)f(x,y)}dydx, $$ so I thought that I could do like follows; $E[7Y]=\int\int{7y \cdot 6 x y^2}dydx=\frac{21}{4}$, but it is wrong. Any help and insight would be appreciated!