Problem:
$$x^2+(a-5)x+1=3|x|$$ Find 3 distinct solutions to the above problem.
A friend of mine at my coaching center came up with this problem which nobody was able to solve. Unfortunately, I have been unable to contact my professor and understand how to solve this problem. Despite thinking for a long time, I could not come up with anything.
The only things that struck me was that I should open up the modulus sign (first by taking $x\ge0\Rightarrow |x|=x$ and then by taking $x<0\Rightarrow |x|=-x$).
Also, the question could perhaps then be tackled by using relations between the roots of the quadratic equations (I know only that the sum of both roots of a quadratic equation $ax^2+bx+c$ is $\dfrac{-b}{a},$ and that their product is $\dfrac{c}{a}$).
Unfortunately I could not proceed any further. I would be truly grateful if somebody would kindly show me how to solve this problem. Many, many thanks in advance!