Variables
y: salary, in dollars
x: sales made, in dollars
If the sales made are x dollars, then the 4% of this is computed as follows:

Similarly, the 7.5% of the sales are:

In the first case, the base salary is $400. Adding the 4% in commissions, the salary is:
y = 400 + 0.04x
Similarly, with a base salary of $100 and a commission of 7.5%, the salary is:
y = 100 + 0.075x
If both salaries are the same:
400 + 0.04x = 100 + 0.075x
400 - 100 = 0.075x - 0.04x
300 = 0.035x
300/0.035 = x
8571.43 = x
A sales amount of $8571.43 will result in the two options having the same weekly salary