Starkey Interview Question

How to calculate the salary