Which answer gives the closest meaning of Do the trick?

  • a guess made with little information
  • to be in a difficult situation
  • to solve the problem or work successfully
  • to require or demand something