An object that is 0.5 m above the ground has the same amount of potential energy as a spring that is stretched 0.5 m. Each distance is then doubled.

How will the potential energies of the object and the spring compare after the distances are doubled?