Question 1167989
You need two separate equations.



If {{{q-8}}} is nonnegative, the {{{abs(q-8)}}} is  {{{q-8}}}.


If q-8 is negative then  {{{abs(q-8)}}} is  {{{-q+8}}}.