Side script for table

I have a problem, i need to compute the hour rate x duration x qty = total cost, can anyone help me.
I do not know how to make programming.

image