Dist1: This represents the distance, measured from the left end of the beam, to the beginning of a line load. Dist2: This represents the distance, measured from the left end of the beam, to the end of a line load. DL1: This represents the magnitude of…