Question 31(ROM) Solve the equation $|x^2-1|+|x^2-4|=mx$ as a function of the parameter $m$. Which pairs $(x,m)$ of integers satisfy this equation?