def f(k,x,y):
    return (k*x , k*y)
