The perimeter of a triangle is 42 yards. The first side is 5 yards less than the second side, and the third side is 2 yards less than the first side. What is the length of each side?