toString method of a linear equation : <p>I am trying to represent an equation in this format: "a = bx + c"</p>

<ul>
<li>If b is 0, it should return “a = c”.</li>
<li>If c is 0, then it should return “a = bx”</li>
<li>Also, when c is negative it should not return something like "5 = 8x + -7" </li>
<li>And when b=1, it should not show the coefficient of x.</li>
</ul>

<p>Can you help me?</p>
