How to compute for hourly rate