So for these simplified functions would they be equivalent to these functions:

Is -3x^2-13x-13 equivalent to f(x)=-3(x+2)^2

Is [(x-2)(x+1)]/[3x+1)(x+1] equivalent to f(x)=(x^2-x-2)/(3x^2+4x+1)

1. F(x) = -3(x^2+4x+4)=-3x^2 - 12x - 12

2. (x-2)(x+1)/(3x+1)(x+1) = (x-2)/(3x+1)

F(x)=(x+1)(x-2)/(x+1)(3x+1)=(x-2)/(3x+1)