Paste this into the shapes position and change the values to match your layer names. It will offset the positional value to keep the top left corner in place.
h = content("Rectangle 1").content("Rectangle Path 1").size[1];
b = Math.tan(content("Rectangle 1").transform.skew*Math.PI/180)*h;
x = transform.position[0]-b;
y = value[1];
[x,y]