How to use Point.Bycoordinates in Code Block

Can anyone know why the error occurs?
Please tell me the solution.

I have solved it today. Thank you.
I will post my solution later.