Answer
$1470 \ J$
Work Step by Step
The work required to lift the segment of the chain to the top of the building can be computed as:
$W_{i} \approx (3 \Delta y) (9.8 y_i) \
J$
Therefore, the total work done when $\Delta y \to 0$ can be computed as:
$ W=\int_{0}^{10} 29.4 \ y \ dy \\=29.4 [\dfrac{y^2}{2}]_{0}^{10}\\=14.7 \times [y^2]_{0}^{10} \\=14.7 \times 100 \\= 1470 \ J$