Hallo, everybody. Help me, please.

Is it possible to use the free image transformer in the program, as in Photoshop (Ctrl+t) (to stretch the image, freely deform, change perspective). If so, how to do it. Please write as detailed as possible.
For example, I have a rectangular frame, but I want to freely transform it and make ,for example, a square.