RM - I need help with and application using multi doors to control the same relay

Would a State Machine work for you in this case?