We know that the passengers have to feel weightlessness at the top of the loop, therefore the centripetal force must be equal to the gravitational force.
Then we need to use conservation of energy to find a relationship between the height and the velocity
Since we know that the cart will be at the top of the loop, we can take the final height to be 16, and we can sub in the velocity that we got in the previous steps.
By subtracting 16 from 20 we get 4, which means A is the answer.