Hi, can someone please explain to me how they got the answer to this

Question: Find E(X|Y) and E[X - E(X|Y)]^2. Let

~ ,

I don't understand how they got the answer..

E(X|Y) = 1 + 2(Y + 1) = 2Y + 3

E[X - E(X|Y)]^2 = 5 - 4 = 1

Where did they get "1 + 2(Y + 1) " from?? and "5 - 4 " from??

can you guys please help explain this to me?