Part A.
y = 0.001x + 0.10
y - 0.10 = 0.001x (Subtracting 0.10 from both sides of the equation)
(y - 0.10)/0.001= x (Dividing on both sides of the equation)
The answer of part A is:

Part B.
Replacing y=398 and solving for x, we have:

The answer is 397900 items must be produced so the profit will be at least $398.