A payroll service has given us the total amount to pay for holidays. For the given shift, we have to pay $656.25, but this total is broken down into 2 segments, regular time, and holiday time. The total hours for this shift is 11.50. The regular time hours are 5. The holiday time hours are 6.50. The holiday time is paid at 1.25% of the regular time. The answer to the value of X in this case is $50, but I need to know the algebraic formula for this equation. See the calculation example below.
50*5=250
50*1.25*6.5=406.25
Total=$656.25