The correct option is B (ab+9)(ab−1)
The given expression is a2b2+8ab−9
The product of the first and last term is −9a2b2
The middle term has to be split in such a way that the difference is 8ab and product is −9a2b2
The terms will be 9ab and -ab
Spliting the middle term we get,
a2b2−ab+9ab−9
= ab(ab−1)+9(ab−1) [Taking (ab - 1) common as shown]
= (ab+9) (ab−1)