Doubt regarding nodes

#1

How do I solve this?

#2

#3

I think the solution given by @Sajal_2019 is absolutely correct.