The function p(x) will be the fixed amount plus a variable amount.
The fixed amount is $300, so this is already ok.
The variable amount is 3.5% of "x", his total sales for the week.
To take 3.5% of "x", we can multiply x by 0.035, so the variable amount is: 0.035x.
The complete function is the sum of the fixed amount anf the variable amount:

To use this formula to determine Jim's pay, we input 8250 as "x", so:

So, Jim's pay will be $ 588.75.