A) 
The total energy of the system is equal to the maximum elastic potential energy, that is achieved when the displacement is equal to the amplitude (x=A):
(1)
where k is the spring constant.
The total energy, which is conserved, at any other point of the motion is the sum of elastic potential energy and kinetic energy:
(2)
where x is the displacement, m the mass, and v the speed.
We want to know the displacement x at which the elastic potential energy is 1/3 of the kinetic energy:

Using (2) we can rewrite this as

And using (1), we find

Substituting
into the last equation, we find the value of x:

B) 
In this case, the kinetic energy is 1/10 of the total energy:

Since we have

we can write

And so we find:

Answer:
During a total lunar eclipse, the moon and sun are on the exact opposite sides of the Earth, leaving the moon entirely in the Earth's shadow. During a partial lunar eclipse, only part of the moon is in the Earth's shadow.
Explanation: