Making perspective view by points not working

Hello,

I am trying to make a perspective view by points.


Although I specified the points, the 3D view that I am getting is quite different than I expected:

I would like to be able to create a 3D perspective view at point location targeting the window inside the room, as follows:

Is it possible to place a camera at a certain point in the room targeting the other point (in this case located on the window surface)? I have also tried different nodes that create a perspective view but they do not seem to work.