A block starts from rest at the top of a 35° inclined plane and encounters a spring, of constant 6.4 kN/m, rigidly attached to the plane. If the block's mass is 81 kg and it compresses the spring by 64 cm, find the distance the block travelled before it encountered the spring.