Roofs are usually covered by roofing materials called roof shingles which are generally placed side by side to overlap and…