def divide(first, second): return DefineVector(first.getx() / second.getx(), first.gety() / second.gety())
def multiply(first, second): return DefineVector(first.getx() * second.getx(), first.gety() * second.gety())
def subtract(first, second): return DefineVector(first.getx() - second.getx(), first.gety() - second.gety())
def createblank(): return DefineVector(-999, -999)
def add(first, second): return DefineVector(first.getx() + second.getx(), first.gety() + second.gety())
def createfromvector(inputvector): return DefineVector(inputvector.getx(), inputvector.gety())
def createfrompair(pair): xval, yval = pair outcome = DefineVector(xval, yval) return outcome
def createfromvalues(xval, yval): return DefineVector(xval, yval)
def createorigin(): return DefineVector(0, 0)