hammer something out
phrasal verb with hammer verb uk/ˈhæm.ər/ us/ˈhæm.ɚ/
(争论或讨论后)达成(协议或解决办法)
to reach an agreement or solution after a lot of argument or discussion
Three years after the accident the lawyers finally managed to hammer out a settlement with the insurance company. 事故发生3年后,律师们终于与保险公司商定了解决办法。