h, \(27x^3-8=\left(3x-2\right)\left(9x^2+6x+4\right)\)
\(\Rightarrow\left(27x^3-8\right):\left(3x-2\right)\\ =\left(3x-2\right)\left(9x^2+6x+4\right):\left(3x-2\right)\\ =9x^2+6x+4\)
g, \(x^4-2x^2+1=\left(x^2-1\right)^2\)
\(\Rightarrow\left(x^4-2x^2+1\right):\left(1-x^2\right)\\ =\left(x^2-1\right)^2:\left(1-x^2\right)\\ =x^2-1\)