A heavy rope, 50 ft. long, weighs .5 lb/ft and hangs over the edge of a building 120 ft. high.

The first part of the question asks you to approximate the work by a Riemann sum and then an integral for how much work is required to pull the rope to the top of the building. I understand and got the correct solution for that part. I'm having trouble with part b) which asks:

How much work is done by pullinghalfof the rope to the top of the building? Intuitively, I thought it would just be the definite integral from 25 to 50 of the expression (.5x dx) where x is how far the rope is moved. This yields the correct answer of 468.75 ft-lb. However, the solution manual I have solves it in a different way and I have no idea how they did it and would like some help understanding it. Also, because of how the problem was setup, I didn't even know if my answer was an actual way to solve the problem or just a lucky fluke that it came out to be the same value.

Their solution breaks up the work into W1 and W2, the work done by lifting the top half of the rope and the bottom half of the rope, respectively. The integral for the top is W1 = definite integral from 0 to 25 of (.5xdx), the same expression that I used in my answer, but using different starting points and endpoints. Their integral for W2 = the definite integral from 25 to 50 of (25/2 dx). They then add these two integrals together to get the same answer I did, 468.75.

I have looked at this for like 20 minutes and do not understand a) why the problem needs to be broken up into two integrals, b) what their axes system is since the top half goes from 0 to 25 and the bottom half goes from 25 to 50, and c) if my solution is actually correct or just correct by accident.

Any help would be appreciated! Sorry that I don't know how to use the math tags. If anyone could direct me to where that is explained, I would also be obliged.