Replicating RNN step by step

Hi guys,

I posted a question on the data science stackexchange forum, but maybe this is the better outlet. Would you be able to help me out with the following?

I can also paste the code/content here instead if that’s preferred going forward.

Thank you