First you should know the molecular weight for each compound then use this weight as one mole weight for example if you want to make a mix of X and Y in a ratio of 1:1 you should mix the weight of one mole (molecular weight) of X with the weight of one mole of Y and multiply them both with any number you want to make any final weight or volume needed. and if you want to prepare a ratio of 1:2 you should mix the weight of one molecule of X with the weight of two molecules of Y( molecular weight multiplied by 2)....etc.
The answer is already given. By the way I do not think that you have chitosan with a molecular weight of 1526.5 g/mol. Anyway, the molecular weight of urea is 60 g/mol. Thus for a 1:1 molar ratio of chitosan:urea you need to mix 1526.6 g of chitosan with 60 g of urea. Scale up or down as needed.
Why do you consider the chitosan molecular weight as 1526.5 g/mol ????
chitosan is a polymer you can calculate the AMW,
In case you need to calculate the mole ratio between the chitosan and any other compound, you can calculate the mole ratio between the Glucosamine unit of chitosan considering the Degree of deacetylation of the chitosan because chitosan is Co-polymer between glucosamine and acetyl glucosamine