plot y=abs(-\frac12abs( x-2)+1