During a trip to Damascus, Ukrainian President Volodymyr Zelenskyy said the two countries agreed to work together.