Use formulas to find the lateral area and surface area of the prism.
A triangular prism has three rectangular sides of height 30 inches connecting two right triangular bases, one of which has a leg of length 24 inches and a hypotenuse of length 25 inches.
(Round to the nearest whole number as needed.)