The perimeter of an isosceles triangle is 14 cm. One of its sides is twice longer than another of its sides. Find all sides of the triangle.