A child applies a force F parallel to the x-axis to a block moving on a horizontal surface. The x-component of the force varies with the x-coordinate of the block as shown in figure. The work done by the force F when the block moves from x=0 to x=7 m and x=3 m to 4 m are (in joules)