Step 1: extract common factor 5ab
[tex]5a^2b^2-30ab=5ab(ab-6)[/tex]
The result is already factored into its prime polynomials so the answer is:
5ab(ab-6).
You can verifiy that when you expand the product using the distributive property you ge the original polynomial 5a^2b^2 - 30ab.