Given \(\displaystyle m\) and \(\displaystyle 2\) are the roots of the quadratic equation \(\displaystyle px^2-p(3x-1)=3x-1,\)where \(\displaystyle m\) and \(\displaystyle p\) are constants.Find the value of \(\displaystyle m\) and \(\displaystyle p\).

One probably should point out that this is linear in 'p' and, without too much difficulty, is solved for 'p'. After that, one could substitute many values for 'x' with relative ease.