A flower bed is in the shape of a triangle with one side twice the length of the shortest side and the third side is 22 feet more than the
length of the shortest side. Find the dimensions if the perimeter is 170 feet.