Question 1182489
Helping with #1 only.


{{{y=1-abs(x)}}}


Two cases occur.
Either x is negative, or x is nonnegative.


Either:  {{{y=1-x}}}-----------------when {{{x>=0}}}
Or:  {{{y=1-(-x)}}}-------{{{y=1+x}}}-----when {{{x<0}}}


You can continue from that.