The perimeter of a triangle is 7 m. The longest side is twice the length of the shortest side. The sum of the
lengths of the shortest side and the middle side is 1 m more than the length of the longest side. Find the
lengths of the sides.