Egypt and Qatar said they agreed to “work toward” a $7.5 billion investment package