In thermodynamics, when a system undergoes a process at constant temperature, the heat supplied to the system, \( Q_1 \), and the heat expelled from the system, \( Q_2 \), are related to the work done by the system. According to the first law of thermodynamics, for a process at constant temperature (isothermal process), the change in internal energy \( \Delta U = 0 \). Therefore, the work done by the system is the difference between the heat absorbed and the heat expelled:
\[
W = Q_1 - Q_2
\]
Thus, the correct answer is (A).