A spring with a spring constant of 4 N/m is stretched by Sarah's dog until extended by 2 m. How much elastic potential energy is stored by the spring?