One side of a triangle is two times the second side the third side is 5 feet longer than the second side. The perimeter of a triangle is 49 feet find the length of each side.