Writing condition

Writing condition

I'm new to zoho creator. Recently created a form. Now I need to create an automatic task. I have these fields in the form:

Quantity

Unit of measure

Total Weight

Here is what I want : When Pallet is selected as unit of measure each Quantity is multiply X 45 lbs.

So if I enter Quantity: 10

Unit of Measure: Pallet

I want the form to return automatically Total Weight: 450