I'm working on a perspective projection that I have to TRANSFORM+CROP+FIT SIZE IMAGE

I was working with the solution in this post https://www.b4x.com/android/forum/threads/perspectivetransformation.73984/#content and I got the image to do exactly what I need.

But I need to do it with a simple point pixel X Y coordinates. I have some calculations that position the green point in a perspective, but I can't fit that projection that is the same as the image.

In the attached image the green dot has to coincide with the red dot.

Does anyone have a solution? THANK

I was working with the solution in this post https://www.b4x.com/android/forum/threads/perspectivetransformation.73984/#content and I got the image to do exactly what I need.

But I need to do it with a simple point pixel X Y coordinates. I have some calculations that position the green point in a perspective, but I can't fit that projection that is the same as the image.

In the attached image the green dot has to coincide with the red dot.

Does anyone have a solution? THANK