You can add, subtract, multiply, and divide on the right side of the equal sign. You must use these standard VBScript characters:
+ - * /
This example adds the values in the prior year’s Taxes and Purchases accounts and then inserts the sum in the Cash account.
HS.Exp "A#Cash = A#Taxes.Y#PRIOR + A#Purchases.Y#PRIOR"