An angle bisector of a triangle divides the opposite side of the triangle into segments 5 cm and 4 cm long. A second side of the triangle is 5.4 cm long. Find the longest and shortest possible lengths of the third side of the triangle.