The height of a triangle is 2 centimeters greater than the base. The area of the triangle is 161.5 square centimeters. Find the length of the base and the height of the triangle.