The function is x+y where both x and y are between 0 and 1.

Am I correct in saying if E[X|Y] = f(x,y)/h(y)

where h(y) is the marginal probability density of Y that:

E[X^2|Y]= [f(x,y)]^2/h(y)

Sorry if this is a stupid question but I don't want to try and solve it in different ways and there still be some ambiguity as to what the correct way to tackle the question is.

Thanks.