In Photoshop you can "skew" or "distort" a selection into whatever shape you want.
Ah as simple as that!