Answer
Battery (+) ---- Switch ---- Motor ---- Lamp ---- Battery (-)
When the motor is working, it completes the circuit and the lamp lights up. If the motor stops working, the circuit is broken and the lamp turns off, indicating that the motor is not functioning.