Your classmate simplified the following rational expression and asked you if you got the same answer. Determine whether the answer below is correct. If it is not correct, simplify the expression. Show all of your work.
Rational expression: x squared minus 1, over x squared minus 4x minus 5, divided by 2x squared plus 4 x, over 6x squared minus 30x
Your friend's answer: 2x times the quantity x minus 1 times the quantity x plus 2, all over 6x times the quantity x minus 5 times the quantity x minus 5