How to calculate this using math block?

How to calculate this value using math block ?

IMG_20220812_222150

Can anyone help me please providing block ?

User will input the value or the value obtained from any database?

User will input the value, I will use textbox.