Step-by-step explanation:
We will have to get the equations
Plan X
Let the number of weekly sales be represented by d
So the equation will be

For plan Y
We will have

The question wants us to determine when salespeople on plan X will earn more than on plan Y
We will set up the inequality

Re-writing this, we will have

Therefore, the answer is d< 5000