How to move camera to cursor location in a Side Scroller

Help please, I am trying to smoothly move the side scroller camera to mouse location on Y and Z axis. I used this code, it moves the camera smoothly but in the wrong direction. The variable that stores the location is correct but the camera always moves to the wrong location. Pls help me to set this up properly.

If it’s moving in the wrong direction in X, just multiple that X pin by -1 before connecting it.

No, I left the X value the same as in the camera settings