so $f(x,y) = 1/2$ on the region of the triangle. $f(x) = \int_0^{2-x}\cfrac{1}{2}dy = \cfrac{1}{2}(2-x)$ so $f(y|x) = \cfrac{1/2}{\cfrac{1}{2}(2-x)} = \cfrac{1}{2-x}$ So $E(Y|X=1/2) = \int_0^2y\cfrac{1}{3/2}dy = \int_0^2\cfrac{2}{3}ydy = [\cfrac{2}{6}y^2]^2_0 = 4/3$
But the answer is $3/4$
Where have I gone wrong?