There are instructions on how to combine two variables in different ways here, in a tutorial that @Lglasser created.
Did you want to multiply the variables, or add them? You can do either, and then use them like this:
*set maximum_carrying_weight (strength + endurance)
*set maximum_carrying_weight (strength * endurance)
There's an example of a maths string here as well. I hope that helps!