I think that something is wrong here! (?). I do not think that you can figure out the price of 1 gram of CBDCBD is that expensive?
Let \(\displaystyle p=\text{gram price of CBD}\)
\(\displaystyle 500 = 150 + 3.5 p\)
\(\displaystyle 350 = 3.5 p\\
p = 100\\~\\
\text{you were paid}\\
300+1.4p = \\
300 + 140 = \\
\$440 = \$500 - \$60\)
You are owed $60.