The perimeter of a triangle is 48 cm and the lengths of the sides are in an extended ration 3:4:5. Find the length of each side.

3x + 4x + 5x = 48

12x=48
x=4