Ohhh nvm I see. I think you misinterpreted the question. Its not asking what the force against gravity is, but what type of force the gravitation force is. For instance, in the first one gravity acts as a restoring force and in the second one it acts as a rotational force. Can you do the rest now?