I only know the usual techniques for factoring. But I came across this problem:
$$3x^2-4q^2-3p^2+4qx-8pq$$
I couldn't factorise this but thanks to the solution booklet, I found the answer to be:
$$(x+p+2q)(3x-3p-2q)$$
Can somebody help me to factorise this? Thanking you in advance!
Let $$3x^2-4q^2-3p^2+4qx-8pq=(ax+bp+cq)(dx + ep + fq)$$
Opening R.H.S. and comparing factors, we get that ;
$$ad= 3 , be=-3, cf=-4, ae+bd = 0,ce+fb=-8,cd+fa=-4$$
Solving these equations(which is an exercise for you), we get ;
$(a,b,c,d,e,f)= (1,1,2,3,-3,-2)$ and $(3,-3,-2,1,1,2)$
Hence, $$3x^2-4q^2-3p^2+4qx-8pq = (x+p+2q)(3x-3p-2q)$$