The first side of the triangle is 6 cm longer than the second side. The third side is 4 cm shorter than the first side. How long is each side if the perimeter of the triangle is 29 cm?