Skew Smart Object Edges to Fixed Locations
Hello everyone,
I'll try to explain with pictures what I'm trying to achieve.
I have this blue smart object:

and i want the blue layer edges to be same as the red ones edges.
the resolution is always the same: 3168x2059 and i also mentioned the exact percent of the red that I want.
the red in the picture is perfect. I manually adjusted it exactly like I want. I just need to automate it.

if it's not clear enough:

