The two sides struck separate deals with the US after two days of talks in Saudi Arabia.