Wiring consists of two main components, the wire that carries the electricity and the protective sheath which prevents short circuits,…