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