The ratio of two sides of a parallelogram is 3:4. If its perimeter is 112 cm, find the length of all the sides of that parallelogram.