Input (grade 6): Based on the terms of the treaty, Raymond's daughter was to be married to Louis' brother.
Output (grade 6): Th treaty also said that Raymond's daughter was to be married to Louis' brother.