How to calculate regular rate of pay & definition