Salary component formula create

I have to calculate PT based on condition given below:


How can acheive this in formula

To know how to put conditions in the salary component you need to see the document if you haven’t seen it yet.