This may be a dumb question, but I thought that to get the expected value, we were supposed to calculate
$$A = \int_0^1 \int_x^1 y 2(x+y) dydx$$
which gave me a different answer to
$$B = \int_0^1 \int_0^y y 2(x+y) dxdy$$
As far as I know the second expression is finding the marginal density $f_y$ first, then straightforwardly finding the expectation for that.
I keep finding that A = 5/12 while B = 3/4, but I am confident that A should also work, too.
So, it would really help if you could give me the following information.
1), Is there something wrong with my calculation?
2), If not, what DID I find with the expression A?