variable cost formula maths lit