As written, you are requesting the reduction of You probably wanted to ask to reduce (use parenthesis: (d^2-9)/(d^2-7d+12) ) ,