A bond with elements from B.
We can rearrange the mirror equation before plugging our values in.
1/p = 1/f - 1/q.
1/p = 1/10cm - 1/40cm
1/p = 4/40cm - 1/40cm = 3/40cm
40cm=3p <-- cross multiplication
13.33cm = p
Now that we have the value of p, we can plug it into the magnification equation.
M=-16/13.33=1.2
1.2=h'/8cm
9.6=h'
So the height of the image produced by the mirror is 9.6cm.
Answer:

Explanation:
In order to solve this problem, we can do an analysis of the energies involved in the system. Basically the addition of the initial potential energy of the spring and the kinetic energy of the mass should be the same as the addition of the final potential energy of the spring and the kinetic energy of the block. So we get the following equation:

In this case, since the block is moving from rest, the initial kinetic energy is zero. When the block loses contact with the spring, the final potential energy of the spring will be zero, so the equation simplifies to:

The initial potential energy of the spring is given by the equation:

the Kinetic energy of the block is then given by the equation:

so we can now set them both equal to each other, so we get:

This new equation can be simplified if we multiplied both sides of the equation by a 2, so we get:

so now we can solve this for the final velocity, so we get:

At the same speed because it will slow down as it approaches the peak then speed up as it goes down again
it will be going 15m/s when it gets to the same height if we neglect air resistance and the object doesn't hit something
this process is called parellelogram method of resolving vectors.