var P1:Point = new Point(10,20) var P2:Point = new Point(300,400) var vector:Point = P2.subtract(P1) //vector= […]