Match the two expressions term by term. The squared term gives pq=a, the constant gives rs=c, and the middle term gives the cross-product sum.
pq=a,rs=c,ps+qr=b
The leading coefficient a is the product of the two leading numbers, which is what makes a non-monic trinomial harder than a monic one.