The longest side of a triangle is six more units than the shorter side. the third side is twice the length of the shortest side. if the perimeter is 25 units write and solve an equation to find the lengths of all three sides of the triangle