A right pyramid is on a square base of side 4cm. The slanting side of…