Final answer:
To find the lengths of the sides of the triangle, we can create and solve an equation using the given information.
Step-by-step explanation:
To solve this problem, let's assign variables to the lengths of the sides of the triangle. Let x be the shortest side, x+3 be the middle-length side, and 2(x+3) be the longest side. We can now set up an equation using the given information: x + (x+3) + 2(x+3) = 45. Simplifying, we have 4x + 9 = 45. Subtracting 9 from both sides, we get 4x = 36. Dividing by 4, we find that x = 9. Therefore, the lengths of the sides are: shortest side = 9 cm, middle-length side = 12 cm, longest side = 24 cm.
Learn more about Triangle sides