Open-Loop
An open-loop system with disturbance has this diagram:

The formula for the output is
For a first-order system, the output equation becomes
Closed-Loop
A closed-loop system with disturbance has this diagram:

The formula for the output is
For a first-order system, the output equation becomes