Consider the following logic variables for a car:
W = “the seatbelt warning light is on”
D = “a door of the car is open”
Ps = “there is a passenger in the passenger seat”
K = “the key is in the ignition”
M = “the motor is running”
Db = “the driver’s seat belt is fastened”
Pb = “the passenger seat belt is fastened”
Write a logic equation forWthat expresses the following sentence: “If all the doors of the car are closed, and the key is in the ignition, and either the driver’s seat belt is not fastened or there is a passenger in the passenger seat and the passenger’s seat belt is not fastened, then the seatbelt warning light should be on.”