The perimeter of a triangle is 34cm. What are the lengths of the sides if the first side is twice the length of the second side and the third side is 2cm longer than the second side?