A block whose mass is 1 kg is fastened to a spring. The spring has a spring constant 50 N m-1. The block is pulled to a distance x=10 cm from its equilibrium position at x=0 on a frictionless surface at t=0. Calculate the kinetic, potential and total energies of the block when it is 5 cm away from the mean position.