已知(2x-1)²+|y-1|=0,且2y-kx=4,求K的值