Angle PTG = arccos((18^2 + 13^2 - 27^2) / (2 x 18 x 13)) = arccos(-236 / 468) = arccos(-0.5043) = 120 degrees.
The triangle is an obtuse triangle (because one of the angles is greater than 90 degrees) and a scalene triangle (because all the sides are not equal).
Just take the horse to the old town road
The resulting function g(x) is ...
g(x) = f(x +1)
g(x) = (((x +1) +1)(x +1) -2)(x +1) +1
= ((x +2)(x +1) -2)(x +1) +1
= (x² +3x)(x +1) +1
= x³ +4x² +3x +1
The shifted function g(x) is ...
g(x) = x³ +4x² +3x +1