y=x-1 and y=1-x