Finite Math Examples

Reduce (z^2+2^z+1)/(z^2-6^z-7)
Step 1
Reorder terms.