Sketch the necessary wiring to make this float-type level switch control a pump and a lamp in the following manner:…