confusion about conditional expectation from Steven financial math textbook

39 Views Asked by At

Why it is true from step 1 to step 2? How could i use condition of $Z$ just like that? By using tower rule? Thank you in advance.

enter image description here