How can I create a formula for this Calculation in Excel

76% on first $1,250 of Salary + 54% of following $3,750 + 45% of the remaining to a max. Of 8000$ or 85% of Salary whichever is less.

I appreciate any solution for this.