a^2b^2-ab-20
=([ab)^2-ab+1/4]-1/4-20
=(ab-1/2)^2-81/4
=(ab-1/2)^2-(9/2)^2
=(ab-1/2-9/2)(ab-1/2+9/2)
=(ab-5)(ab+4)