Setting up condition and formula

Hi guys let say i want to set a condition base on working hours to deduct late and so on is this possible? this is the example

if my employee goes to work for 3 hours and i want it to multiple base on my basic whats the right condition for this

Thanks in advance