the length of the second side of a triangle is 3cm shorter than the first side, and the third side is twice as long as the first side. if the perimeter is 49 how long are the 3 sides?