Proof that NL is contained in P


I do not succeed to prove that.

How can I do that by using st-conn, or Savitch’s theorem?

I tried to use these but I did not succeed.

Thank you.