(1)a^2+a
=a(a+1)
(2)4ab-2a^2b
=2ab(2-a)
(3)9m^2-n^2
=(3m+n)(3m-n)
(4)2am^2-8a
=2a(m^2-4)
=2a(m+2)(m-2)