The longest side of a triangle is five more units than the shortest side. The third side is three times the length of the shortest side. If the perimeter of the triangle is 50 units, write and solve an equation to find the lengths of all three sides.
Write the equation below:
Shortest side:
Longer side:
Third side: