Answer
$|W| = 2.0 \space J $
Work Step by Step
Similar calculation with the previous question,
$|W| = \frac{|Q_L|}{K_C}$
Where
$K_C = \frac{T_L}{T_H - T_L} $
and $W = 1.0 J$
Substitute all the unknowns into the equation
$|W| = (1.00 J)( \frac{T_H - T_L}{T_L})$
$|W| = (1.00 J) (\frac{300 K- 100 K}{100K} )$
$|W| = 2.0 \space J $