The dimension of a rectangular base of a right pyramid is 9 cm by 5cm. If…