Simple question about Multiplication

Simple question about Multiplication

Hi to everyone.

I have a problem that i cannot solve.

First form: load up products on my warehouse. I have 3 fields: Product name - Quantity - Price

Second Form: this is the sell form. I have set up a look up field for the product name (related to the first form). On the view side i can also show the related price correctly. There is another field called quantity.

What kind of script i need to make a simple multiplication between the price of the first form and the quantity of second form. I need to show up it on the second form view.

Thank you for the reply.