Question
Consider an unknown polynomial which when divided by (x−3) and (x−4) leaves remainders 2 and 1 respectively. Let R(x) be the remainder when this polynomial is divided by (x−3)(x−4). If R(x)=px2+(q−1)x+6 has no distinct real roots and p>0, then the value of 3p+q is