I have a program that is suppose to give out an empolyees income and tax deductions

- to calculate the taxes
1)Local tax is 1.15% of the first $45,000 earned.
2)Federal tax withheld is computed by taking gross pay per pay period minus $15.00 for each dependent time 10% of yearly income projected to be between $0-$20,000, 20% of yearly income projected to be between $20,000-$40,000, and 30% of yearly income progected to be over $40,000.
3)State tax withheld is 5% of projected income between 0-$30,000, and 10% over $30,000.
4)Over-time is computed as time-and-a-half over 40 hours per week.

the output should look like this
Employee: Hector Giron
Hours worked: 55.50
Hourly rate: $14.50
Gross Wages $917.13

Current | yr. to date
Federal $61.64 | $6271.64
State $91.71 | $2254.71
Local $2.50 | $517.50
Total Deductions $355.85
Net Pay $561.28


According to the question the employee's local tax is $2.50. But When I calculate the local tax the answer is different.
This is how I do it.
14.50 * 55.50 = 804.75 * 0.0115 (1.15%)=9.254625 and not $2.50

Can anyone explain to me how they calculated these numbers.?