I\'m trying to get the new coordinates of the green point (x;y) relative to the black rectangle in the following example as the red rectangle scales.
(x;y)
Exa