The longest side of a triangle is 4 inches longer than the shortest side. The medium side is 3 inches longer than the shortest side. If the perimeter of the triangle is 25 inches, what are the lengths of the 3 sides