This is a sewing basic. This is a preamble to a pajama pant tutorial that will be coming soon.
I’ve known how to do this for as long as I can remember. What I didn’t know what to do, until today, was make stuff like this in Photoshop. I just learned, today, how to command T (transfer? transport? transform?) pictures. And now I can make all sort of things. Enjoy.