A 30-inch segment is cut into two parts whose lengths have the ratio 3 to 5. How do you find the length of the shortest part?