Making a math equation for overtime : <p>right now i have an employee who is getting 500 dollars overtime when he works 40 hours and his basic salary is 3500 dollars, i need to have an equation to calculate the amount of dollars when he work any other amount of hours different salary or  with basic salary 4000 dollars. Thanks</p>
