What is the quotient in simplest form? State any restrictions on the variable.

The given expression:
[tex]\frac{z^2-4}{z-3}\div \frac{z+2}{z^2+z-12}[/tex]Apply the fraction rule:
[tex]\begin{gathered} \frac{\frac{a}{b}}{\frac{c}{d}}=\frac{a\cdot \:d}{b\cdot \:c} \\ =\frac{\left(z^2-4\right)\left(z^2+z-12\right)}{\left(z-3\right)\left(z+2\right)} \end{gathered}[/tex]Cancel out (z - 3)(z + 2):
[tex]=\left(z-2\right)\left(z+4\right)[/tex]Therefore,
[tex](z-2)(z+4)=z^2+2z-8[/tex]Therefore, the quotient in simplest form is
[tex]z^2+2z-8[/tex]The restrictions are that none of the cancelled factors can be 0, so z ≠ 3 and z ≠- 4.