Given the quadratic function y=x2+2mx−3m+1y = x^2 + 2mx - 3m + 1y=x2+2mx−3m+1, where the variable xxx and real numbers ppp and qqq satisfy: 4p2+9q2=2,4p^2 + 9q^2 = 2,4p2+9q2=2, 12x+3pq=1,\frac{1}{2}x + 3pq = 1,21x+3pq=1, and the minimum value of yyy is 1. Find the value of mmm.