Two opposite sides of a square are increased by 5 cm to form a rectangle. If the rectangle has a perimeter of 70 cm, what was the length of a side of the original square?