One side of triangle is 3 times the shortest side. The third side is 24 feet more than the shortest side. The perimeter is 94 . Find all three sides.