Problem exercise in drawing a development or a stretchout image of the octagonal roof and finding the…