Calculate virtual fields

hi my name is rachman,
I want to ask a custom field expression, what is the result of the addition, can the value be taken and added again,
example :
field1 + field2 = customfield1;
customfield1 * discount = customfield3
customfield3 + price = customfield4;

Thanks