An altitude is drawn forming a right angle and two congruent triangles. The length of the altitude is 18 inches, and the length of the base is 17 inches. Find the triangle’s perimeter. Round to the nearest tenth of an inch.