Simplify (x^2-64)/(x^2-7x-8)*(x+1)/x