(b) If $W_{1} =$ work done by applied force
$W_{2} =$ work done against friction then applying work energy theorem
$W_{1} - W_{2} =$ PE +KE (at the top)
$F \times s - W_{2} = mgh + \frac{1}{2}mv^{2}$
$100 \times 12 - W_{2} = 50 \times 10 \times 2 + \frac{1}{2} \times 50 \times 2^{2}$
$1200 - W_{2} = 1100$
$W_{2} = \ 100\ J$