已知一次函数y=(1-2m)x+1+m,当m为何值时,图像经过(2,1)?