A particle moves around a semicircle of radius R, from one end A of a diameter to the other B. It is attracted to its starting point A by a force proportional to its distance from A. When the particle is at B, the force towards A is F0. Calculate the work done against this force when the particle moves around the semicircle from A to B.