s(x)=c(x-a)=c(a-x)