I am trying to draw a parallelogram knowing corners of another parallelogram. Tried this code, but it works for rectangular shapes, when it comes to different kinds of parallelo