\(g)2bx-3ay-6by+ax\\ =\left(2bx-6by\right)+\left(ax-3ay\right)\\ =2b\left(x-3y\right)+a\left(x-3y\right)\\ =\left(x-3y\right)\left(a+2b\right)\\ h)x+2a\left(x-y\right)-y\\ =2a\left(x-y\right)+\left(x-y\right)\\ =\left(x-y\right)\left(2a+1\right)\\ e)a^5-a^3+a^2-1\\ =a^3\left(a^2-1\right)+\left(a^2-1\right)\\ =\left(a^2-1\right)\left(a^3+1\right)\\ =\left(a-1\right)\left(a+1\right)^2\left(a^2-a+1\right)\)